Changeset 5743 for source/ariba/overlay/BaseOverlay.h
- Timestamp:
- Aug 6, 2009, 2:32:48 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/overlay/BaseOverlay.h
r5624 r5743 160 160 bool isStarted(); 161 161 162 /// Tries to establish a direct or overlay link 163 const LinkID establishLink(const EndpointDescriptor& ep, 164 const NodeID& node, const ServiceID& service, 165 const NodeID& remoteRelay = NodeID::UNSPECIFIED, 166 const LinkID& linkid = LinkID::UNSPECIFIED); 167 162 168 /** 163 169 * Starts a link establishment procedure to the specfied node … … 169 175 */ 170 176 const LinkID establishLink(const NodeID& node, const ServiceID& service, 177 const NodeID& remoteRelay = NodeID::UNSPECIFIED, 171 178 const LinkID& linkid = LinkID::UNSPECIFIED); 172 173 /**174 * Starts a link establishment procedure to the specified175 * endpoint and to the specified service. Concurrently it tries to176 * establish a relay link over the overlay using the nodeid177 */178 const LinkID establishLink(const EndpointDescriptor& ep, const NodeID& nodeid,179 const ServiceID& service, const LinkID& linkid = LinkID::UNSPECIFIED);180 179 181 180 /** … … 183 182 * endpoint and to the specified service 184 183 */ 185 const LinkID establish Link(const EndpointDescriptor& ep,184 const LinkID establishDirectLink(const EndpointDescriptor& ep, 186 185 const ServiceID& service, const LinkID& linkid = LinkID::UNSPECIFIED); 187 186 … … 412 411 413 412 /// returns a direct link relay descriptor to the given relay node 414 LinkDescriptor* getRelayDescriptor( const NodeID& relayNode ); 415 416 /// find a proper relay node that is directly connected to this node 417 const NodeID findRelayNode( const NodeID id ); 413 LinkDescriptor* getRelayDescriptor( const NodeID& remoteNode ); 414 415 /// returns the local relay node to a given remote node 416 NodeID getRelayNode( const NodeID& remoteNode ); 417 418 /// returns the direct link the message to a neighbor is send to 419 LinkDescriptor* getSendDescriptor( const NodeID& nodeid, bool follow = true ); 420 421 /// routes a message over the overlay or directly sends it when a link is open 422 seqnum_t sendOverlay( Message* message, const NodeID& nodeid, 423 const NodeID& remoteRelay = NodeID::UNSPECIFIED ); 418 424 419 425 /// forwards a message over relays/overlay/directly using link descriptor 420 426 seqnum_t sendMessage( Message* message, const LinkDescriptor* ld ); 421 422 LinkDescriptor* getSendDescriptor( const NodeID& nodeid, bool follow = true );423 424 /// routes a message over the overlay or directly sends it when a link is open425 seqnum_t sendOverlay( Message* message, const NodeID& nodeid );426 427 427 428 /// creates a link descriptor, applys relay semantics if possible
Note:
See TracChangeset
for help on using the changeset viewer.