#include <source/ariba/communication/EndpointDescriptor.h>
Inherits VSerializeable.
Public Member Functions | |
EndpointDescriptor () | |
creates an empty endpoint descriptor with zero endpoints | |
virtual | ~EndpointDescriptor () |
destructor. | |
EndpointDescriptor (const EndpointDescriptor &rh) | |
copy constructor | |
EndpointDescriptor (const endpoint_set &endpoints) | |
construct end-points from an endpoint set | |
EndpointDescriptor (const string &str) | |
construct end-points from a string | |
string | toString () const |
convert end-points to string | |
bool | isUnspecified () const |
returns true, if this object is the unspecified object | |
bool | operator== (const EndpointDescriptor &rh) const |
bool | operator!= (const EndpointDescriptor &rh) const |
EndpointDescriptor & | operator= (const EndpointDescriptor &rhs) |
endpoint_set & | getEndpoints () |
returns the end-points of this descriptor | |
const endpoint_set & | getEndpoints () const |
returns the end-points of this descriptor | |
Static Public Member Functions | |
static EndpointDescriptor & | UNSPECIFIED () |
static EndpointDescriptor * | fromString (string str) |
create endpoint | |
Private Attributes | |
endpoint_set | endpoints |
Friends | |
class | BaseCommunication |
Definition at line 54 of file EndpointDescriptor.h.
ariba::communication::EndpointDescriptor::EndpointDescriptor | ( | ) |
creates an empty endpoint descriptor with zero endpoints
Definition at line 46 of file EndpointDescriptor.cpp.
Referenced by fromString(), and UNSPECIFIED().
ariba::communication::EndpointDescriptor::~EndpointDescriptor | ( | ) | [virtual] |
ariba::communication::EndpointDescriptor::EndpointDescriptor | ( | const EndpointDescriptor & | rh | ) |
ariba::communication::EndpointDescriptor::EndpointDescriptor | ( | const endpoint_set & | endpoints | ) |
ariba::communication::EndpointDescriptor::EndpointDescriptor | ( | const string & | str | ) |
static EndpointDescriptor* ariba::communication::EndpointDescriptor::fromString | ( | string | str | ) | [inline, static] |
create endpoint
Definition at line 91 of file EndpointDescriptor.h.
References EndpointDescriptor().
const endpoint_set& ariba::communication::EndpointDescriptor::getEndpoints | ( | ) | const [inline] |
returns the end-points of this descriptor
Definition at line 117 of file EndpointDescriptor.h.
References endpoints.
endpoint_set& ariba::communication::EndpointDescriptor::getEndpoints | ( | ) | [inline] |
returns the end-points of this descriptor
Definition at line 112 of file EndpointDescriptor.h.
References endpoints.
Referenced by ariba::communication::BaseCommunication::receiveMessage(), ariba::communication::BaseCommunication::send(), ariba::communication::BaseCommunication::setEndpoints(), and ariba::communication::BaseCommunication::start().
bool ariba::communication::EndpointDescriptor::isUnspecified | ( | ) | const [inline] |
returns true, if this object is the unspecified object
Definition at line 86 of file EndpointDescriptor.h.
References UNSPECIFIED().
Referenced by ariba::utility::PathloadMeasurement::blockingFunction(), ariba::Node::join(), ariba::overlay::OneHop::joinOverlay(), ariba::overlay::Chord::joinOverlay(), ariba::overlay::BaseOverlay::joinSpoVNet(), and operator==().
bool ariba::communication::EndpointDescriptor::operator!= | ( | const EndpointDescriptor & | rh | ) | const [inline] |
Definition at line 103 of file EndpointDescriptor.h.
EndpointDescriptor& ariba::communication::EndpointDescriptor::operator= | ( | const EndpointDescriptor & | rhs | ) | [inline] |
bool ariba::communication::EndpointDescriptor::operator== | ( | const EndpointDescriptor & | rh | ) | const [inline] |
string ariba::communication::EndpointDescriptor::toString | ( | ) | const [inline] |
convert end-points to string
Definition at line 74 of file EndpointDescriptor.h.
References endpoints, and ariba::addressing::endpoint_set::to_string().
Referenced by ariba::AribaModule::addBootstrapHints(), ariba::utility::PathloadMeasurement::blockingFunction(), ariba::overlay::OverlayBootstrap::checkOverlayStatus(), ariba::overlay::BaseOverlay::establishDirectLink(), ariba::communication::BaseCommunication::establishLink(), ariba::overlay::OneHop::eventFunction(), ariba::AribaModule::getBootstrapHints(), ariba::SideportListener::getEndpointDescription(), ariba::AribaModule::getLocalEndpoints(), ariba::overlay::BaseOverlay::handleJoinReply(), ariba::overlay::BaseOverlay::handleLinkReply(), ariba::overlay::OverlayBootstrap::handleSystemEvent(), ariba::overlay::OneHop::joinOverlay(), ariba::overlay::Chord::joinOverlay(), ariba::overlay::BaseOverlay::joinSpoVNet(), ariba::overlay::OneHop::onMessage(), ariba::overlay::OverlayBootstrap::publish(), ariba::overlay::OverlayBootstrap::recordJoin(), ariba::overlay::OneHop::resolveNode(), ariba::overlay::Chord::setup(), and ariba::communication::BaseCommunication::start().
static EndpointDescriptor& ariba::communication::EndpointDescriptor::UNSPECIFIED | ( | ) | [inline, static] |
Definition at line 78 of file EndpointDescriptor.h.
References EndpointDescriptor().
Referenced by ariba::overlay::OverlayBootstrap::checkOverlayStatus(), ariba::overlay::BaseOverlay::getEndpointDescriptor(), ariba::communication::BaseCommunication::getEndpointDescriptor(), isUnspecified(), ariba::overlay::OneHop::resolveNode(), and ariba::overlay::Chord::resolveNode().
friend class BaseCommunication [friend] |
Definition at line 55 of file EndpointDescriptor.h.
Definition at line 122 of file EndpointDescriptor.h.
Referenced by getEndpoints(), operator=(), operator==(), and toString().