Changeset 3067 for source/ariba/Node.h


Ignore:
Timestamp:
Apr 24, 2009, 10:04:11 AM (15 years ago)
Author:
Christoph Mayer
Message:

-fixed #30 (stress test pingpong, has some errors), #24 (autolinks for easy message sending)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/Node.h

    r3055 r3067  
    122122         *
    123123         * @param listener The node listener
    124          */
    125         void bind(NodeListener* listener);
     124         * @return boolean indicating success of failure
     125         */
     126        bool bind(NodeListener* listener);
    126127
    127128        /**
     
    129130         *
    130131         * @param listener The node listener
    131          */
    132         void unbind(NodeListener* listener);
     132         * @return boolean indicating success of failure
     133         */
     134        bool unbind(NodeListener* listener);
    133135
    134136        //--- spovnet properties ---
     
    266268         * @param listener The listener to be registered
    267269         * @param sid The service identifier
    268          */
    269         void bind(CommunicationListener* listener, const ServiceID& sid);
     270         * @return boolean indicating success of failure
     271         */
     272        bool bind(CommunicationListener* listener, const ServiceID& sid);
    270273
    271274        /**
     
    273276         *
    274277         * @param The listener to be unbound
    275          */
    276         void unbind(CommunicationListener* listener, const ServiceID& sid);
    277 
    278         // --- extension proposal: service directory -- TODO
     278         * @return boolean indicating success of failure
     279         */
     280        bool unbind(CommunicationListener* listener, const ServiceID& sid);
     281
     282        // --- extension proposal: service directory --
    279283        // main-idea: use this methods to register groups/rendevous points inside
    280284        // the base overlay via a distributed storage service.
Note: See TracChangeset for help on using the changeset viewer.