Changeset 7468 for sample/pingpong
- Timestamp:
- Jan 25, 2010, 10:50:57 AM (15 years ago)
- Location:
- sample/pingpong
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sample/pingpong/PingPong.cpp
r6959 r7468 210 210 } 211 211 212 bool PingPong::onLinkRequest(const NodeID& remote , const DataMessage& msg) {212 bool PingPong::onLinkRequest(const NodeID& remote) { 213 213 logging_info( "node " << remote.toString() << " wants to build up a link with us ... allowing" ); 214 214 return true; -
sample/pingpong/PingPong.h
r5316 r7468 38 38 protected: 39 39 // communication listener interface 40 virtual bool onLinkRequest(const NodeID& remote, const DataMessage& msg = 41 DataMessage::UNSPECIFIED); 40 virtual bool onLinkRequest(const NodeID& remote); 42 41 virtual void onMessage(const DataMessage& msg, const NodeID& remote, 43 42 const LinkID& lnk = LinkID::UNSPECIFIED);
Note:
See TracChangeset
for help on using the changeset viewer.