RSB  0.19.0
rsb::transport::socket::BusServer Class Referenceabstract

Instances of this class provide access to a socket-based bus for local and remote bus clients. More...

#include <BusServer.h>

Inheritance diagram for rsb::transport::socket::BusServer:
Inheritance graph
Collaboration diagram for rsb::transport::socket::BusServer:
Collaboration graph

Public Member Functions

virtual ~BusServer ()
 
virtual void activate ()=0
 
virtual void deactivate ()=0
 
virtual void handleIncoming (EventPtr event, BusConnectionPtr connection)=0
 
- Public Member Functions inherited from rsb::transport::socket::Bus
virtual ~Bus ()
 
virtual void addSink (InConnectorPtr sink)=0
 
virtual void removeSink (const InConnector *sink)=0
 
virtual void addConnection (BusConnectionPtr connection)=0
 Adds connection to the list of connections of the bus. More...
 
virtual void removeConnection (BusConnectionPtr connection)=0
 Removes connection from the list of connections of this bus. More...
 
virtual bool isTcpnodelay () const =0
 
virtual void handle (EventPtr event)=0
 Handle event. More...
 
virtual const std::string getTransportURL () const =0
 
- Public Member Functions inherited from rsb::eventprocessing::Handler
virtual ~Handler ()
 

Detailed Description

Instances of this class provide access to a socket-based bus for local and remote bus clients.

Remote clients can connect to a server socket in order to send and receive events through the resulting socket connection.

Local clients (connectors) use the usual Bus interface to receive events submitted by remote clients and submit events which will be distributed to remote clients by the BusServer.

Author
jmoringe

Definition at line 52 of file BusServer.h.

Constructor & Destructor Documentation

rsb::transport::socket::BusServer::~BusServer ( )
virtual

Definition at line 33 of file BusServer.cpp.

Member Function Documentation

virtual void rsb::transport::socket::BusServer::activate ( )
pure virtual
virtual void rsb::transport::socket::BusServer::deactivate ( )
pure virtual
virtual void rsb::transport::socket::BusServer::handleIncoming ( EventPtr  event,
BusConnectionPtr  connection 
)
pure virtual

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