#include <source/ariba/NodeListener.h>
Public Member Functions | |
NodeListener () | |
virtual | ~NodeListener () |
Protected Member Functions | |
virtual void | onJoinCompleted (const SpoVNetID &vid) |
virtual void | onJoinFailed (const SpoVNetID &vid) |
virtual void | onLeaveCompleted (const SpoVNetID &vid) |
virtual void | onLeaveFailed (const SpoVNetID &vid) |
Friends | |
class | ariba::overlay::BaseOverlay |
Definition at line 57 of file NodeListener.h.
ariba::NodeListener::NodeListener | ( | ) |
Definition at line 44 of file NodeListener.cpp.
ariba::NodeListener::~NodeListener | ( | ) | [virtual] |
Definition at line 47 of file NodeListener.cpp.
void ariba::NodeListener::onJoinCompleted | ( | const SpoVNetID & | vid | ) | [protected, virtual] |
This event method is called, when a node has completed its join procedure.
vid | The spovnet id | |
nid | The node id |
Reimplemented in ariba::application::pingpong::PingPong.
Definition at line 50 of file NodeListener.cpp.
Referenced by ariba::overlay::BaseOverlay::receiveMessage().
void ariba::NodeListener::onJoinFailed | ( | const SpoVNetID & | vid | ) | [protected, virtual] |
This event method is called, when a node failed to join a spovnet.
vid | The spovnet id | |
nid | The node id |
Reimplemented in ariba::application::pingpong::PingPong.
Definition at line 53 of file NodeListener.cpp.
Referenced by ariba::overlay::BaseOverlay::receiveMessage().
void ariba::NodeListener::onLeaveCompleted | ( | const SpoVNetID & | vid | ) | [protected, virtual] |
This event method is called, when a node succeeded to leave a spovnet.
vid | The spovnet id | |
nid | The node id |
Reimplemented in ariba::application::pingpong::PingPong.
Definition at line 56 of file NodeListener.cpp.
Referenced by ariba::overlay::BaseOverlay::leaveSpoVNet().
void ariba::NodeListener::onLeaveFailed | ( | const SpoVNetID & | vid | ) | [protected, virtual] |
This event method is called, when a node failed to leave a spovnet.
vid | The spovnet id | |
nid | The node id |
Reimplemented in ariba::application::pingpong::PingPong.
Definition at line 59 of file NodeListener.cpp.
Referenced by ariba::overlay::BaseOverlay::leaveSpoVNet(), and ariba::overlay::BaseOverlay::receiveMessage().
friend class ariba::overlay::BaseOverlay [friend] |
Definition at line 58 of file NodeListener.h.