Sirikata
|
The Network::SendListener interface should be implemented by the object sending data to the network. More...
#include <SpaceNetwork.hpp>
Public Member Functions | |
virtual | ~SendListener () |
virtual void | networkReadyToSend (const ServerID &from)=0 |
Invoked when, after a call to Network::send() fails, the network determines it can accept more data. |
The Network::SendListener interface should be implemented by the object sending data to the network.
The listener actively pushes data to the Network queues, but this interface allows it to be notified when it is going to be able to successfully push more data.
virtual Sirikata::SpaceNetwork::SendListener::~SendListener | ( | ) | [inline, virtual] |
virtual void Sirikata::SpaceNetwork::SendListener::networkReadyToSend | ( | const ServerID & | from | ) | [pure virtual] |
Invoked when, after a call to Network::send() fails, the network determines it can accept more data.
Implemented in Sirikata::FairServerMessageQueue, and Sirikata::ServerMessageQueue.
Referenced by Sirikata::TCPSpaceNetwork::getNewSendStream(), Sirikata::TCPSpaceNetwork::handleConnectedStream(), and Sirikata::TCPSpaceNetwork::readySendCallback().