OpenSDN source code
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
StatsClient Class Referenceabstract

#include <stats_client.h>

Inheritance diagram for StatsClient:

Public Member Functions

 StatsClient ()
 
 StatsClient (boost::asio::io_context &io_service, const std::string &endpoint)
 
 ~StatsClient ()
 
virtual void Initialize ()=0
 
virtual bool IsConnected ()=0
 
virtual bool SendMsg (Sandesh *sandesh)=0
 
virtual size_t SendBuf (uint8_t *data, size_t size)=0
 

Static Public Attributes

static const uint32_t kEncodeBufferSize = 2048
 

Detailed Description

Definition at line 18 of file stats_client.h.

Constructor & Destructor Documentation

StatsClient::StatsClient ( )
inline

Definition at line 21 of file stats_client.h.

StatsClient::StatsClient ( boost::asio::io_context &  io_service,
const std::string &  endpoint 
)
StatsClient::~StatsClient ( )
inline

Definition at line 23 of file stats_client.h.

Member Function Documentation

virtual void StatsClient::Initialize ( )
pure virtual

Implemented in StatsClientRemote.

virtual bool StatsClient::IsConnected ( )
pure virtual

Implemented in StatsClientRemote.

virtual size_t StatsClient::SendBuf ( uint8_t *  data,
size_t  size 
)
pure virtual

Implemented in StatsClientRemote.

virtual bool StatsClient::SendMsg ( Sandesh sandesh)
pure virtual

Implemented in StatsClientRemote.

Member Data Documentation

const uint32_t StatsClient::kEncodeBufferSize = 2048
static

Definition at line 20 of file stats_client.h.


The documentation for this class was generated from the following file: