22 #ifndef __M2ETIS_PUBSUB_VALIDITY_TIMEVALIDITY_H__
23 #define __M2ETIS_PUBSUB_VALIDITY_TIMEVALIDITY_H__
34 template<u
int64_t MIN, u
int64_t MAX>
44 if (info->_timeStamp == UINT64_MAX) {
56 if (info->_timeStamp < cT && (cT - info->_timeStamp > MAX || cT - info->_timeStamp < MIN)) {
void processNotifyPayload(typename message::ValidityInfo::Ptr vInfo)
processes received Notify message
bool isValid(typename message::ValidityInfo::Ptr vInfo)
checks whether a message is valid or has to be stopped
message::TimeValidityInfo ValidityInfoType
void configureValidityInfo(typename message::ValidityInfo::Ptr vInfo)
configures ValidityInfo before sending
void processPublishPayload(typename message::ValidityInfo::Ptr vInfo)
processes received Publish message
util::Clock< util::RealTimeClock > clock_
uint64_t getTime() const
Will return the time since the Clock on the rendezvouz node has started.
boost::shared_ptr< TimeValidityInfo > Ptr
TimeValidity(PubSubSystemEnvironment *pssi)
boost::shared_ptr< ValidityInfo > Ptr