Sirikata
Public Member Functions
Sirikata::SpaceNetwork::SendListener Class Reference

The Network::SendListener interface should be implemented by the object sending data to the network. More...

#include <SpaceNetwork.hpp>

Inheritance diagram for Sirikata::SpaceNetwork::SendListener:

List of all members.

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.

Detailed Description

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.


Constructor & Destructor Documentation

virtual Sirikata::SpaceNetwork::SendListener::~SendListener ( ) [inline, virtual]

Member Function Documentation

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().


The documentation for this class was generated from the following file: