Electroneum
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
cryptonote::rpc::ZmqServer Class Reference

#include <zmq_server.h>

Collaboration diagram for cryptonote::rpc::ZmqServer:
Collaboration graph
[legend]

Public Member Functions

 ZmqServer (RpcHandler &h)
 
 ~ZmqServer ()
 
void serve ()
 
bool addIPCSocket (boost::string_ref address, boost::string_ref port)
 
bool addTCPSocket (boost::string_ref address, boost::string_ref port)
 
void run ()
 
void stop ()
 

Static Public Member Functions

static void init_options (boost::program_options::options_description &desc)
 

Private Attributes

RpcHandlerhandler
 
net::zmq::context context
 
boost::thread run_thread
 
net::zmq::socket rep_socket
 

Constructor & Destructor Documentation

◆ ZmqServer()

cryptonote::rpc::ZmqServer::ZmqServer ( RpcHandler h)

◆ ~ZmqServer()

cryptonote::rpc::ZmqServer::~ZmqServer ( )

Member Function Documentation

◆ addIPCSocket()

bool cryptonote::rpc::ZmqServer::addIPCSocket ( boost::string_ref  address,
boost::string_ref  port 
)

◆ addTCPSocket()

bool cryptonote::rpc::ZmqServer::addTCPSocket ( boost::string_ref  address,
boost::string_ref  port 
)

◆ init_options()

static void cryptonote::rpc::ZmqServer::init_options ( boost::program_options::options_description &  desc)
static

◆ run()

void cryptonote::rpc::ZmqServer::run ( )

◆ serve()

void cryptonote::rpc::ZmqServer::serve ( )

◆ stop()

void cryptonote::rpc::ZmqServer::stop ( )

Member Data Documentation

◆ context

net::zmq::context cryptonote::rpc::ZmqServer::context
private

◆ handler

RpcHandler& cryptonote::rpc::ZmqServer::handler
private

◆ rep_socket

net::zmq::socket cryptonote::rpc::ZmqServer::rep_socket
private

◆ run_thread

boost::thread cryptonote::rpc::ZmqServer::run_thread
private

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