22 #ifndef __M2ETIS_PUBSUB_ORDER_NULLORDER_H__
23 #define __M2ETIS_PUBSUB_ORDER_NULLORDER_H__
36 template<
class NetworkType>
boost::shared_ptr< OrderInfo > Ptr
message::NullOrderInfo OrderInfoType
void processSubscribePayload(typename message::OrderInfo::Ptr, const typename NetworkType::Key &)
nothing has to be done on arrival
void processPublishPayload(typename message::OrderInfo::Ptr, const typename NetworkType::Key &)
nothing has to be done on arrival
void receive(uint64_t id, typename message::OrderInfo::Ptr, const typename NetworkType::Key &)
deliver the message as soon as it arrived
bool configureOrderInfo(uint64_t id, const message::ActionType, typename message::OrderInfo::Ptr, const typename NetworkType::Key &)
no extra informations need to be stored
void processNotifyPayload(typename message::OrderInfo::Ptr, const typename NetworkType::Key &)
called for every NotifyMsg that arrived
This is the interface that should be used for all Order Strategies It specifies all functions that sh...
bool processControlPayload(typename message::OrderInfo::Ptr, const typename NetworkType::Key &)
nothing has to be done on arrival
This class implements the NullOrder Strategy This Strategy does nothing for ordering. All Messages are forwarded as fast as possible.
NullOrder(PubSubSystemEnvironment *pssi, bool b)
boost::function< void(uint64_t, msgProcess)> function_
stores the function to be called for delivering
void otherOrders(const std::vector< NullOrder * > &)
this function is used to get the pointers to all other NullOrder instances of this Channel (other tre...
void notifyRemovedMessage(typename message::OrderInfo::Ptr, const typename NetworkType::Key &)
notified when message dropped by filter or validity strategy
bool hasPending()
there are never pending messages