m2etis
0.4
|
#include <BaseDeliver.h>
Public Member Functions | |
BaseDeliver (PubSubSystemEnvironment *pssi) | |
virtual | ~BaseDeliver () |
void | configureCallback (const boost::function< void(uint64_t, msgProcess)> &func) |
used to set the function to be called when a message should be send to the next processing stage call this function with the id given in receive() to deliver the appropriate message More... | |
void | configureSendCallback (const boost::function< void(message::DeliverInfo::Ptr, const typename NetworkType::Key &, ControlTarget)> &func) |
with this function, new messages can be sent directly to nodes More... | |
virtual void | configureDeliverInfo (uint64_t id, const message::ActionType mtype, typename message::DeliverInfo::Ptr ptr, const typename NetworkType::Key &receiver, message::ControlType ct)=0 |
creates the DeliverInfo More... | |
virtual bool | processPublishPayload (typename message::DeliverInfo::Ptr ptr, const typename NetworkType::Key &sender)=0 |
creates the DeliverInfo More... | |
virtual bool | processOtherControlPayload (typename message::DeliverInfo::Ptr ptr, const typename NetworkType::Key &sender)=0 |
creates the DeliverInfo More... | |
virtual bool | processControlPayload (typename message::DeliverInfo::Ptr ptr, const typename NetworkType::Key &sender)=0 |
creates the DeliverInfo More... | |
virtual bool | processNotifyPayload (typename message::DeliverInfo::Ptr ptr, const typename NetworkType::Key &sender)=0 |
creates the DeliverInfo More... | |
virtual bool | processSubscribePayload (typename message::DeliverInfo::Ptr ptr, const typename NetworkType::Key &sender)=0 |
creates the DeliverInfo More... | |
virtual bool | processUnsubscribePayload (typename message::DeliverInfo::Ptr ptr, const typename NetworkType::Key &sender)=0 |
processes Control Messages (id got acked) More... | |
Protected Attributes | |
PubSubSystemEnvironment * | pssi_ |
PubSubSystemEnvironment. More... | |
boost::function< void(uint64_t, msgProcess)> | process_ |
stores the function to be called for delivering More... | |
boost::function< void(message::DeliverInfo::Ptr, typename NetworkType::Key, ControlTarget)> | sendCtrlMsg_ |
stores the function to send new messages This function will send a newly created control message containing the given DeliverStruct to the specified sender. The Tree ensures that this message will be sent to the specified receiver and will not be processed by any other strategie. More... | |
Definition at line 41 of file BaseDeliver.h.
|
inlineexplicit |
Definition at line 43 of file BaseDeliver.h.
|
inlinevirtual |
Definition at line 45 of file BaseDeliver.h.
|
inline |
used to set the function to be called when a message should be send to the next processing stage call this function with the id given in receive() to deliver the appropriate message
Definition at line 51 of file BaseDeliver.h.
|
pure virtual |
|
inline |
with this function, new messages can be sent directly to nodes
Definition at line 58 of file BaseDeliver.h.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
processes Control Messages (id got acked)
Implemented in m2etis::pubsub::deliver::AckDeliver< NetworkType, Retries, Multiples >, m2etis::pubsub::deliver::NackDeliver< NetworkType, Retries, Multiples >, and m2etis::pubsub::deliver::NullDeliver< NetworkType >.
|
protected |
stores the function to be called for delivering
Definition at line 107 of file BaseDeliver.h.
|
protected |
Definition at line 101 of file BaseDeliver.h.
|
protected |
stores the function to send new messages This function will send a newly created control message containing the given DeliverStruct to the specified sender. The Tree ensures that this message will be sent to the specified receiver and will not be processed by any other strategie.
Definition at line 117 of file BaseDeliver.h.