Changeset 3037 for sample/pingpong/PingPong.h
- Timestamp:
- Apr 22, 2009, 9:07:53 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sample/pingpong/PingPong.h
r2483 r3037 37 37 virtual bool onLinkRequest(const NodeID& remote, const DataMessage& msg); 38 38 virtual void onMessage(const DataMessage& msg, const NodeID& remote, const LinkID& lnk= LinkID::UNSPECIFIED); 39 virtual void onLinkUp(const LinkID& lnk, const NodeID& remote); 40 virtual void onLinkDown(const LinkID& lnk, const NodeID& remote); 41 virtual void onLinkChanged(const LinkID& lnk, const NodeID& remote); 42 virtual void onLinkFail(const LinkID& lnk, const NodeID& remote); 43 virtual void onLinkQoSChanged(const LinkID& lnk, const NodeID& remote, const LinkProperties& prop); 44 virtual void onMessageSent(seqnum_t seq_num, bool failed, const DataMessage& msg = DataMessage::UNSPECIFIED); 39 45 40 46 // node listener interface 41 47 virtual void onJoinCompleted( const SpoVNetID& vid ); 42 48 virtual void onJoinFailed( const SpoVNetID& vid ); 49 virtual void onLeaveCompleted( const SpoVNetID& vid ); 50 virtual void onLeaveFailed( const SpoVNetID& vid ); 43 51 44 52 // startup wrapper interface … … 54 62 Node* node; 55 63 56 // flag, whet er this node initiates or just joins the spovnet64 // flag, whether this node initiates or just joins the spovnet 57 65 bool isInitiator; 58 66
Note:
See TracChangeset
for help on using the changeset viewer.