m2etis
0.4
|
#include <ChannelInterface.h>
Public Member Functions | |
virtual | ~BasicChannelInterface () |
Destructor. More... | |
virtual void | publish (const typename message::M2Message< EventType >::Ptr msg)=0 |
publishes a message on the channel More... | |
virtual void | subscribe (BasicDeliverCallbackInterface< EventType > &callback, boost::shared_ptr< filter::FilterExp< EventType > >)=0 |
subscribes to the channel More... | |
virtual void | unsubscribe ()=0 |
virtual void | unsubscribe (boost::shared_ptr< filter::FilterExp< EventType > >)=0 |
deregisters single filter More... | |
virtual ChannelName | getChannel () const =0 |
Gets a identification of the channel. More... | |
virtual std::string | getSelf () const =0 |
virtual message::M2Message< EventType >::Ptr | createMessage () const =0 |
virtual message::M2Message< EventType >::Ptr | createMessage (const EventType &payload) const =0 |
Definition at line 47 of file ChannelInterface.h.
|
inlinevirtual |
Destructor.
Definition at line 51 of file ChannelInterface.h.
|
pure virtual |
Implemented in m2etis::pubsub::Channel< ChannelType, NetworkType, EventType >.
|
pure virtual |
Implemented in m2etis::pubsub::Channel< ChannelType, NetworkType, EventType >.
|
pure virtual |
Gets a identification of the channel.
Implemented in m2etis::pubsub::Channel< ChannelType, NetworkType, EventType >.
|
pure virtual |
Implemented in m2etis::pubsub::Channel< ChannelType, NetworkType, EventType >.
|
pure virtual |
publishes a message on the channel
[in] | msg | published message on the channel |
Implemented in m2etis::pubsub::Channel< ChannelType, NetworkType, EventType >.
|
pure virtual |
subscribes to the channel
[in] | callback | callback method |
[in] | predicate | filter |
Implemented in m2etis::pubsub::Channel< ChannelType, NetworkType, EventType >.
|
pure virtual |
Implemented in m2etis::pubsub::Channel< ChannelType, NetworkType, EventType >.
|
pure virtual |
deregisters single filter
[in] | predicate | filter |