runMACS
 All Data Structures Files Functions Variables Enumerations Enumerator Macros
Public Member Functions
InfoServer Class Reference

#include <InfoServer.h>

Inheritance diagram for InfoServer:
RocServer

Public Member Functions

 InfoServer (zmq::context_t &_ctx, const std::string &_brokerEndpoint, const std::string &_serviceName, const std::string &_thisHostName)
 
 ~InfoServer ()
 
- Public Member Functions inherited from RocServer
 RocServer (zmq::context_t &_ctx, const std::string &_brokerEndpoint, const std::string &_serviceName)
 
virtual ~RocServer ()
 

Additional Inherited Members

- Protected Member Functions inherited from RocServer
virtual void startup ()
 called in handler thread on startup More...
 
virtual void teardown ()
 called in handler thread on shutdown More...
 
virtual void onRequest (std::list< zmq::message_t * > *envelope, std::list< zmq::message_t * > *data)
 The (not anymore) "to-be-overloaded" request handler. More...
 
virtual Json::Value call (const std::string &name, const Json::Value &arguments)
 The "to-be-overloaded" call handler. More...
 
virtual void setattr (const std::string &name, const Json::Value &value)
 The "to-be-overloaded" setattr handler. More...
 
void reply (std::list< zmq::message_t * > *envelope, std::list< zmq::message_t * > *data=nullptr)
 
void replyValue (std::list< zmq::message_t * > *envelope, const Json::Value &value, const std::string &id="")
 
void replyError (std::list< zmq::message_t * > *envelope, int errorNo, const std::string &id="")
 
- Protected Attributes inherited from RocServer
zmq::context_t & ctx
 

Detailed Description

Definition at line 6 of file InfoServer.h.

Constructor & Destructor Documentation

InfoServer::InfoServer ( zmq::context_t &  _ctx,
const std::string &  _brokerEndpoint,
const std::string &  _serviceName,
const std::string &  _thisHostName 
)

Definition at line 4 of file InfoServer.cpp.

InfoServer::~InfoServer ( )

Definition at line 13 of file InfoServer.cpp.


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