Changeset 3693


Ignore:
Timestamp:
May 26, 2009, 9:35:48 AM (15 years ago)
Author:
mies
Message:

fixed <unspec> errors with chord

Location:
source/ariba/overlay
Files:
2 edited

Legend:

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

    r3690 r3693  
    454454        if( state == BaseOverlayStateJoinInitiated && id == initiatorLink){
    455455
    456                 logging_info( "join has been initiated by me and the link is now up. " <<
    457                                 "sending out join request for spovnet " <<
    458                                 spovnetId.toString() );
     456                logging_info(
     457                        "Join has been initiated by me and the link is now up. " <<
     458                        "sending out join request for SpoVNet " << spovnetId.toString()
     459                );
    459460
    460461                OverlayMsg overMsg( OverlayMsg::OverlayMessageTypeJoinRequest, nodeId );
     
    636637                                                state == BaseOverlayStateInitiator){
    637638
    638                 logging_debug( "baseoverlay received message of type OverlayMessageTypeJoinRequest" );
     639                logging_debug(
     640                        "baseoverlay received message of type OverlayMessageTypeJoinRequest"
     641                );
    639642
    640643                JoinRequest* joinReq = overlayMsg->decapsulate<JoinRequest>();
  • source/ariba/overlay/modules/chord/Chord.cpp

    r3690 r3693  
    7070}
    7171
    72 // helper: sets up a link using the base overlay
     72/// helper: sets up a link using the base overlay
    7373LinkID Chord::setup(const EndpointDescriptor& endp) {
    7474
     
    7878}
    7979
    80 // helper: sends a message using the "base overlay"
     80/// helper: sends a message using the "base overlay"
    8181seqnum_t Chord::send(Message* msg, const LinkID& link) {
     82        if (link.isUnspecified()) return 0;
    8283        return baseoverlay.sendMessage(msg, link);
    8384}
    8485
     86/// sends a discovery message
    8587void Chord::send_discovery_to(const NodeID& destination, int ttl) {
    8688        logging_debug("Initiating discovery of " << destination.toString() );
     
    192194        M* m = msg.getMessage()->convert<ChordMessage> ();
    193195        if (m == NULL) return;
    194 
    195         logging_debug("onMessage: type=" << (int)m->getType() );
    196196
    197197        // handle messages
Note: See TracChangeset for help on using the changeset viewer.