Ignore:
Timestamp:
Aug 6, 2009, 2:32:48 PM (15 years ago)
Author:
mies
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/overlay/BaseOverlay.h

    r5624 r5743  
    160160        bool isStarted();
    161161
     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
    162168        /**
    163169         * Starts a link establishment procedure to the specfied node
     
    169175         */
    170176        const LinkID establishLink(const NodeID& node, const ServiceID& service,
     177                const NodeID& remoteRelay = NodeID::UNSPECIFIED,
    171178                const LinkID& linkid = LinkID::UNSPECIFIED);
    172 
    173         /**
    174          * Starts a link establishment procedure to the specified
    175          * endpoint and to the specified service. Concurrently it tries to
    176          * establish a relay link over the overlay using the nodeid
    177          */
    178         const LinkID establishLink(const EndpointDescriptor& ep, const NodeID& nodeid,
    179                 const ServiceID& service, const LinkID& linkid = LinkID::UNSPECIFIED);
    180179
    181180        /**
     
    183182         * endpoint and to the specified service
    184183         */
    185         const LinkID establishLink(const EndpointDescriptor& ep,
     184        const LinkID establishDirectLink(const EndpointDescriptor& ep,
    186185                const ServiceID& service, const LinkID& linkid = LinkID::UNSPECIFIED);
    187186
     
    412411
    413412        /// 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 );
    418424
    419425        /// forwards a message over relays/overlay/directly using link descriptor
    420426        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 open
    425         seqnum_t sendOverlay( Message* message, const NodeID& nodeid );
    426427
    427428        /// creates a link descriptor, applys relay semantics if possible
Note: See TracChangeset for help on using the changeset viewer.