Ignore:
Timestamp:
Oct 2, 2013, 12:01:09 PM (11 years ago)
Author:
hock@…
Message:

new callbacks in ariba::NodeListener:

  • onOverlayConnected
  • onOverlayDisconnected
File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/NodeListener.h

    r9684 r12438  
    5757 * @author Sebastian Mies <mies@tm.uka.de>
    5858 * @author Christoph Mayer <mayer@tm.uka.de>
     59 * @author Mario Hock <mario.hock@student.kit.edu>
    5960 */
    6061class NodeListener {
     
    9798         */
    9899        virtual void onLeaveFailed( const SpoVNetID& vid );
     100   
     101    /**
     102     * This event method is called, when the number of neighbours gets above one.
     103     *
     104     * Usually this means, the node is now connected to an existing spovnet, or
     105     * another node connected to this node and a "two-elemnt" spovnet just formed up.
     106     *
     107     * NOTE: This method can be called again, after »onOverlayDisconnected« has
     108     * been called.
     109     *
     110     * @param vid The spovnet id
     111     */
     112    virtual void onOverlayConnected( const SpoVNetID& vid );
     113   
     114    /**
     115     * This event method is called, when the number of neighbours drops to zero.
     116     *
     117     * Usually this means, the note has lost connection to the spovnet, or the
     118     * spovnet ceased to exist, since all other nodes are gone.
     119     *
     120     * NOTE: This method will only be called after »onOverlayConnected« has been
     121     * called.
     122     *
     123     * @param vid The spovnet id
     124     */
     125    virtual void onOverlayDisconnected( const SpoVNetID& vid );
    99126};
    100127
Note: See TracChangeset for help on using the changeset viewer.