SOLA
|
#include <message.h>
Public Member Functions | |
MinhtonMessageHeader | getHeader () const |
NodeInfo | getSender () const |
NodeInfo | getTarget () const |
void | setTarget (NodeInfo new_target) |
T | getFullMessage () const |
Representation of the minimal set of properties for a MinhtonMessage. Each MinhtonMessage consists of a MinhtonMessageHeader which is inside a specific message type next to its payload.
MinhtonMessageHeader minhton::MinhtonMessage< T >::getHeader | ( | ) | const |
Helper method to access the header
NodeInfo minhton::MinhtonMessage< T >::getSender | ( | ) | const |
Helper method to access the sender from the header equivalent to header_.getSender()
NodeInfo minhton::MinhtonMessage< T >::getTarget | ( | ) | const |
Helper method to access the sender from the header equivalent to header_.getTarget()
void minhton::MinhtonMessage< T >::setTarget | ( | NodeInfo | new_target | ) |
Helper method to change the target. Only to be used for Search Exact or Entity Search, where the query target needs to be adjusted
new_target | New Target |