FREEDM DGI
|
#include "messages/ModuleMessage.pb.h"
#include <memory>
#include <boost/date_time/posix_time/posix_time_types.hpp>
#include <google/protobuf/message.h>
Go to the source code of this file.
Namespaces | |
freedm | |
General FREEDM Namespace. | |
freedm::broker | |
Broker Architecture Namespace. | |
Functions | |
google::protobuf::uint64 | freedm::broker::ComputeMessageHash (const ModuleMessage &msg) |
Hash a message. More... | |
bool | freedm::broker::MessageIsExpired (const ProtocolMessage &msg) |
Determines whether the message has expired. More... | |
void | freedm::broker::SetExpirationTimeFromNow (ProtocolMessage &msg, const boost::posix_time::time_duration &expires_in) |
Set the expiration time for this message. More... | |
void | freedm::broker::StampMessageSendtime (ProtocolMessageWindow &msg) |
Sets the message's timestamp to the current time. More... | |