OpenSDN source code
|
#include <stats_client.h>
Public Member Functions | |
StatsClientRemote (boost::asio::io_context &io_service, const std::string &stats_collector) | |
virtual | ~StatsClientRemote () |
virtual void | Initialize () |
virtual bool | IsConnected () |
virtual bool | SendMsg (Sandesh *sandesh) |
virtual size_t | SendBuf (uint8_t *data, size_t size) |
![]() | |
StatsClient () | |
StatsClient (boost::asio::io_context &io_service, const std::string &endpoint) | |
~StatsClient () | |
Private Attributes | |
UdpServer::Endpoint | stats_server_ep_ |
boost::scoped_ptr < UdpServer::Socket > | stats_socket_ |
tbb::mutex | send_mutex_ |
bool | is_connected_ |
Additional Inherited Members | |
![]() | |
static const uint32_t | kEncodeBufferSize = 2048 |
Definition at line 51 of file stats_client.h.
|
inline |
|
inlinevirtual |
Definition at line 60 of file stats_client.h.
|
virtual |
Implements StatsClient.
Definition at line 68 of file stats_client.cc.
|
inlinevirtual |
Implements StatsClient.
Definition at line 62 of file stats_client.h.
|
virtual |
Implements StatsClient.
Definition at line 86 of file stats_client.cc.
|
virtual |
Implements StatsClient.
Definition at line 99 of file stats_client.cc.
|
private |
Definition at line 69 of file stats_client.h.
|
private |
Definition at line 68 of file stats_client.h.
|
private |
Definition at line 66 of file stats_client.h.
|
private |
Definition at line 67 of file stats_client.h.