EII Message Bus C Reference
Public Member Functions | Friends | List of all members
eii::msgbus::Service Class Reference

#include <msgbus.hpp>

Inheritance diagram for eii::msgbus::Service:
eii::msgbus::ReceiveContext

Public Member Functions

 ~Service ()
 
void response (MsgEnvelope *response)
 
- Public Member Functions inherited from eii::msgbus::ReceiveContext
 ~ReceiveContext ()
 
MsgEnveloperecv_wait ()
 
template<class Rep , class Period >
MsgEnveloperecv_timedwait (const std::chrono::duration< Rep, Period > &timeout)
 
MsgEnveloperecv_nowait ()
 
user_data_tget_user_data ()
 

Friends

class MsgbusContext
 

Additional Inherited Members

- Protected Member Functions inherited from eii::msgbus::ReceiveContext
 ReceiveContext (void *msgbus_ctx, recv_ctx_t *recv_ctx)
 
- Protected Attributes inherited from eii::msgbus::ReceiveContext
void * m_msgbus_ctx
 
recv_ctx_tm_recv_ctx
 

Detailed Description

EII Message Bus service (i.e. server) wrapper.

Constructor & Destructor Documentation

◆ ~Service()

eii::msgbus::Service::~Service ( )

Destructor

Member Function Documentation

◆ response()

void eii::msgbus::Service::response ( MsgEnvelope response)

Issue a response over the message bus.

Note
delete should be called on the MsgEnvelope by the calling application after this method is called.
Exceptions
MsgbusExceptionThrown if an error occurs in the message bus.
Parameters
response- MsgEnvelope* response

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