Changeset 7468 for sample/pingpong


Ignore:
Timestamp:
Jan 25, 2010, 10:50:57 AM (15 years ago)
Author:
Christoph Mayer
Message:

-timer delete fix (noch auskommentiert), -interface cleanup

Location:
sample/pingpong
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sample/pingpong/PingPong.cpp

    r6959 r7468  
    210210}
    211211
    212 bool PingPong::onLinkRequest(const NodeID& remote, const DataMessage& msg) {
     212bool PingPong::onLinkRequest(const NodeID& remote) {
    213213        logging_info( "node " << remote.toString() << " wants to build up a link with us ... allowing" );
    214214        return true;
  • sample/pingpong/PingPong.h

    r5316 r7468  
    3838protected:
    3939        // communication listener interface
    40         virtual bool onLinkRequest(const NodeID& remote, const DataMessage& msg =
    41                         DataMessage::UNSPECIFIED);
     40        virtual bool onLinkRequest(const NodeID& remote);
    4241        virtual void onMessage(const DataMessage& msg, const NodeID& remote,
    4342                const LinkID& lnk = LinkID::UNSPECIFIED);
Note: See TracChangeset for help on using the changeset viewer.