#include <source/ariba/overlay/modules/chord/messages/Discovery.h>


Public Types | |
| enum | follow_type_ { normal = 0, successor = 1, predecessor = 2 } |
Public Member Functions | |
| Discovery (const Discovery &msg) | |
| Discovery () | |
| virtual | ~Discovery () |
| EndpointDescriptor * | getSourceEndpoint () const |
| void | setSourceEndpoint (const EndpointDescriptor *endpoint) |
| uint8_t | getTTL () const |
| void | setTTL (uint8_t ttl) |
| follow_type_ | getFollowType () const |
| void | setFollowType (follow_type_ type) |
Private Attributes | |
| VSERIALIZEABLE | |
| uint8_t | follow_type |
| uint8_t | ttl |
| EndpointDescriptor * | source_endpoint |
Definition at line 60 of file Discovery.h.
| ariba::overlay::Discovery::Discovery | ( | const Discovery & | msg | ) | [inline] |
| ariba::overlay::Discovery::Discovery | ( | ) | [explicit] |
Definition at line 46 of file Discovery.cpp.
| ariba::overlay::Discovery::~Discovery | ( | ) | [virtual] |
Definition at line 49 of file Discovery.cpp.
| EndpointDescriptor* ariba::overlay::Discovery::getSourceEndpoint | ( | ) | const [inline] |
Definition at line 85 of file Discovery.h.
References source_endpoint.
Referenced by ariba::overlay::Chord::onMessage().
| void ariba::overlay::Discovery::setSourceEndpoint | ( | const EndpointDescriptor * | endpoint | ) | [inline] |
Definition at line 89 of file Discovery.h.
References source_endpoint.
Referenced by ariba::overlay::Chord::send_discovery_to().
| uint8_t ariba::overlay::Discovery::getTTL | ( | ) | const [inline] |
Definition at line 93 of file Discovery.h.
References ttl.
Referenced by ariba::overlay::Chord::onMessage().
| void ariba::overlay::Discovery::setTTL | ( | uint8_t | ttl | ) | [inline] |
Definition at line 97 of file Discovery.h.
Referenced by ariba::overlay::Chord::onMessage(), and ariba::overlay::Chord::send_discovery_to().
| follow_type_ ariba::overlay::Discovery::getFollowType | ( | ) | const [inline] |
Definition at line 101 of file Discovery.h.
References follow_type.
Referenced by ariba::overlay::Chord::onMessage().
| void ariba::overlay::Discovery::setFollowType | ( | follow_type_ | type | ) | [inline] |
Definition at line 105 of file Discovery.h.
References follow_type.
Referenced by ariba::overlay::Chord::onMessage(), and ariba::overlay::Chord::send_discovery_to().
Definition at line 61 of file Discovery.h.
uint8_t ariba::overlay::Discovery::follow_type [private] |
Definition at line 110 of file Discovery.h.
Referenced by Discovery(), getFollowType(), and setFollowType().
uint8_t ariba::overlay::Discovery::ttl [private] |
Definition at line 112 of file Discovery.h.
Referenced by Discovery(), getSourceEndpoint(), and setSourceEndpoint().
1.5.6