mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-22 15:51:29 -04:00
- added notification from global router to client services
- keep distant messages in outbox until they get notified to be received - cleanup dead code git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7284 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
11e370c56d
commit
ed198af807
8 changed files with 128 additions and 60 deletions
|
@ -55,6 +55,14 @@ class GRouterClientService
|
|||
std::cerr << " destination key_id = " << destination_key.toStdString() << std::endl;
|
||||
}
|
||||
|
||||
// This method is called by the global router when a message has been acknowledged, in order to notify the client.
|
||||
//
|
||||
virtual void acknowledgeDataReceived(const GRouterMsgPropagationId& received_id)
|
||||
{
|
||||
std::cerr << "!!!!!! Received Data acknowledge from global router, but the client service is not handling it !!!!!!!!!!" << std::endl ;
|
||||
std::cerr << " message ID = " << received_id << std::endl;
|
||||
}
|
||||
|
||||
// This function is mandatory. It should do two things:
|
||||
// 1 - keep a pointer to the global router, so as to be able to send data (e.g. copy pt into a local variable)
|
||||
// 2 - call pt->registerTunnelService(this), so that the TR knows that service and can send back information to it.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue