SOLA
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
minhton::MessageFindQueryRequest Class Reference

More...

#include <find_query_request.h>

Inheritance diagram for minhton::MessageFindQueryRequest:
minhton::MinhtonMessage< MessageFindQueryRequest >

Public Types

enum  ForwardingDirection : uint8_t { kDirectionNone , kDirectionLeft , kDirectionRight }
 

Public Member Functions

 MessageFindQueryRequest (MinhtonMessageHeader header, FindQuery query, ForwardingDirection forwarding_direction, std::pair< uint32_t, uint32_t > interval)
 
FindQuery getFindQuery () const
 
ForwardingDirection getForwardingDirection () const
 
std::pair< uint32_t, uint32_t > getInterval () const
 
 SERIALIZE (header_, query_, forwarding_direction_, interval_)
 
- Public Member Functions inherited from minhton::MinhtonMessage< MessageFindQueryRequest >
MinhtonMessageHeader getHeader () const
 
NodeInfo getSender () const
 
NodeInfo getTarget () const
 
void setTarget (NodeInfo new_target)
 
MessageFindQueryRequest getFullMessage () const
 

Detailed Description

Constructor & Destructor Documentation

◆ MessageFindQueryRequest()

minhton::MessageFindQueryRequest::MessageFindQueryRequest ( MinhtonMessageHeader  header,
FindQuery  query,
ForwardingDirection  forwarding_direction,
std::pair< uint32_t, uint32_t >  interval 
)
Parameters
queryDefines what kind of data the requesting node wants to aquire.
forwarding_directionCan be either none, left, or right.
intervalA pair defining the start and end number of relevant nodes (both exclusive).

The documentation for this class was generated from the following files: