Sirikata
|
Functor which allows the user to set callbacks for the stream. More...
#include <Stream.hpp>
Public Member Functions | |
virtual | ~SetCallbacks () |
virtual void | operator() (const Stream::ConnectionCallback &connectionCallback, const Stream::ReceivedCallback &receivedCallback, const Stream::ReadySendCallback &readySendCallback)=0 |
Function to be called from within a SubstreamCallback to set the callback functions of a newly cloned or received stream. |
Functor which allows the user to set callbacks for the stream.
virtual Sirikata::Network::Stream::SetCallbacks::~SetCallbacks | ( | ) | [inline, virtual] |
virtual void Sirikata::Network::Stream::SetCallbacks::operator() | ( | const Stream::ConnectionCallback & | connectionCallback, |
const Stream::ReceivedCallback & | receivedCallback, | ||
const Stream::ReadySendCallback & | readySendCallback | ||
) | [pure virtual] |
Function to be called from within a SubstreamCallback to set the callback functions of a newly cloned or received stream.
This allows bytes to be immediately sent off
Implemented in Sirikata::Network::TCPSetCallbacks.