m2etis  0.4
m2etis::pubsub::deliver::NullDeliver< NetworkType > Class Template Reference

#include <NullDeliver.h>

Inheritance diagram for m2etis::pubsub::deliver::NullDeliver< NetworkType >:
Inheritance graph

Public Types

typedef message::NullDeliverInfo DeliverInfoType
 

Public Member Functions

 NullDeliver (PubSubSystemEnvironment *pssi, const typename NetworkType::Key &)
 
virtual ~NullDeliver ()
 
bool processPublishPayload (typename message::DeliverInfo::Ptr, const typename NetworkType::Key &)
 used to process payload More...
 
bool processNotifyPayload (typename message::DeliverInfo::Ptr, const typename NetworkType::Key &)
 used to process payload More...
 
bool processSubscribePayload (typename message::DeliverInfo::Ptr, const typename NetworkType::Key &)
 used to process payload More...
 
bool processUnsubscribePayload (typename message::DeliverInfo::Ptr, const typename NetworkType::Key &)
 used to process payload More...
 
bool processOtherControlPayload (typename message::DeliverInfo::Ptr, const typename NetworkType::Key &)
 creates the DeliverInfo More...
 
void configureDeliverInfo (uint64_t id, const message::ActionType, typename message::DeliverInfo::Ptr, const typename NetworkType::Key &, message::ControlType)
 creates the DeliverInfo More...
 
bool processControlPayload (typename message::DeliverInfo::Ptr, const typename NetworkType::Key &)
 processes Control Messages (id got acked) More...
 
- Public Member Functions inherited from m2etis::pubsub::deliver::BaseDeliver< NetworkType >
 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...
 

Additional Inherited Members

- Protected Attributes inherited from m2etis::pubsub::deliver::BaseDeliver< NetworkType >
PubSubSystemEnvironmentpssi_
 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...
 

Detailed Description

template<class NetworkType>
class m2etis::pubsub::deliver::NullDeliver< NetworkType >

Definition at line 37 of file NullDeliver.h.

Member Typedef Documentation

template<class NetworkType >
typedef message::NullDeliverInfo m2etis::pubsub::deliver::NullDeliver< NetworkType >::DeliverInfoType

Definition at line 39 of file NullDeliver.h.

Constructor & Destructor Documentation

template<class NetworkType >
m2etis::pubsub::deliver::NullDeliver< NetworkType >::NullDeliver ( PubSubSystemEnvironment pssi,
const typename NetworkType::Key &   
)
inline

Definition at line 41 of file NullDeliver.h.

template<class NetworkType >
virtual m2etis::pubsub::deliver::NullDeliver< NetworkType >::~NullDeliver ( )
inlinevirtual

Definition at line 44 of file NullDeliver.h.

Member Function Documentation

template<class NetworkType >
void m2etis::pubsub::deliver::NullDeliver< NetworkType >::configureDeliverInfo ( uint64_t  id,
const message::ActionType  ,
typename message::DeliverInfo::Ptr  ,
const typename NetworkType::Key &  ,
message::ControlType   
)
inlinevirtual

creates the DeliverInfo

Implements m2etis::pubsub::deliver::BaseDeliver< NetworkType >.

Definition at line 81 of file NullDeliver.h.

template<class NetworkType >
bool m2etis::pubsub::deliver::NullDeliver< NetworkType >::processControlPayload ( typename message::DeliverInfo::Ptr  ,
const typename NetworkType::Key &   
)
inlinevirtual

processes Control Messages (id got acked)

Implements m2etis::pubsub::deliver::BaseDeliver< NetworkType >.

Definition at line 88 of file NullDeliver.h.

template<class NetworkType >
bool m2etis::pubsub::deliver::NullDeliver< NetworkType >::processNotifyPayload ( typename message::DeliverInfo::Ptr  ,
const typename NetworkType::Key &   
)
inlinevirtual

used to process payload

Implements m2etis::pubsub::deliver::BaseDeliver< NetworkType >.

Definition at line 56 of file NullDeliver.h.

template<class NetworkType >
bool m2etis::pubsub::deliver::NullDeliver< NetworkType >::processOtherControlPayload ( typename message::DeliverInfo::Ptr  ptr,
const typename NetworkType::Key &  sender 
)
inlinevirtual

creates the DeliverInfo

Implements m2etis::pubsub::deliver::BaseDeliver< NetworkType >.

Definition at line 74 of file NullDeliver.h.

template<class NetworkType >
bool m2etis::pubsub::deliver::NullDeliver< NetworkType >::processPublishPayload ( typename message::DeliverInfo::Ptr  ,
const typename NetworkType::Key &   
)
inlinevirtual

used to process payload

Implements m2etis::pubsub::deliver::BaseDeliver< NetworkType >.

Definition at line 49 of file NullDeliver.h.

template<class NetworkType >
bool m2etis::pubsub::deliver::NullDeliver< NetworkType >::processSubscribePayload ( typename message::DeliverInfo::Ptr  ,
const typename NetworkType::Key &   
)
inlinevirtual

used to process payload

Implements m2etis::pubsub::deliver::BaseDeliver< NetworkType >.

Definition at line 63 of file NullDeliver.h.

template<class NetworkType >
bool m2etis::pubsub::deliver::NullDeliver< NetworkType >::processUnsubscribePayload ( typename message::DeliverInfo::Ptr  ,
const typename NetworkType::Key &   
)
inlinevirtual

used to process payload

Implements m2etis::pubsub::deliver::BaseDeliver< NetworkType >.

Definition at line 70 of file NullDeliver.h.


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