FREEDM DGI
|
#include "Messages.hpp"
#include "CLogger.hpp"
#include "messages/ModuleMessage.pb.h"
#include "messages/ProtocolMessage.pb.h"
#include <cassert>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/functional/hash.hpp>
#include <google/protobuf/descriptor.h>
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... | |