|
m2etis
0.4
|
#include <Channel.h>

Public Member Functions | |
| Channel (const ChannelName topic_name, const std::string &ip, uint16_t port, const std::string &rendezvousIP, uint16_t known_hostport, PubSubSystemEnvironment *pssi, const std::vector< std::string > &rootList) | |
| Constructor. More... | |
| virtual | ~Channel () |
| std::string | getSelf () const |
| ChannelName | getChannel () const |
| Gets a identification of the channel. More... | |
| void | subscribe (BasicDeliverCallbackInterface< EventType > &callback, boost::shared_ptr< filter::FilterExp< EventType > > predicate) |
| subscribes to the channel More... | |
| void | unsubscribe (boost::shared_ptr< filter::FilterExp< EventType >> predicate) override |
| void | unsubscribe () |
| void | publish (const typename message::M2Message< EventType >::Ptr msg) |
| publishes a message on the channel More... | |
| message::M2Message< EventType >::Ptr | createMessage () const |
| message::M2Message< EventType >::Ptr | createMessage (const EventType &payload) const |
| bool | parseMessages () |
| void | deliver (typename message::NetworkMessage< NetworkType >::Ptr msg) |
| Channel receives messages from network in here, used for dynamic partitions. More... | |
Public Member Functions inherited from m2etis::pubsub::BasicChannelInterface< EventType > | |
| virtual | ~BasicChannelInterface () |
| Destructor. More... | |
| virtual void | unsubscribe (boost::shared_ptr< filter::FilterExp< EventType > >)=0 |
| deregisters single filter More... | |
Public Member Functions inherited from m2etis::pubsub::ChannelEventInterface | |
| virtual | ~ChannelEventInterface () |
| Destructor. More... | |
Long Desc
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Implements m2etis::pubsub::BasicChannelInterface< EventType >.
Definition at line 177 of file Channel.h.

|
inlinevirtual |
Implements m2etis::pubsub::BasicChannelInterface< EventType >.
Definition at line 181 of file Channel.h.

|
inline |
|
inlinevirtual |
Gets a identification of the channel.
Implements m2etis::pubsub::BasicChannelInterface< EventType >.
|
inlinevirtual |
|
inline |
|
inlinevirtual |
publishes a message on the channel
| [in] | msg | published message on the channel |
Implements m2etis::pubsub::BasicChannelInterface< EventType >.
Definition at line 173 of file Channel.h.

|
inlinevirtual |
subscribes to the channel
| [in] | callback | callback method |
| [in] | predicate | filter |
Implements m2etis::pubsub::BasicChannelInterface< EventType >.
Definition at line 160 of file Channel.h.


|
inlineoverride |
|
inlinevirtual |