Sirikata
Public Member Functions
Sirikata::Network::Stream::SetCallbacks Class Reference

Functor which allows the user to set callbacks for the stream. More...

#include <Stream.hpp>

Inheritance diagram for Sirikata::Network::Stream::SetCallbacks:
Collaboration diagram for Sirikata::Network::Stream::SetCallbacks:

List of all members.

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.

Detailed Description

Functor which allows the user to set callbacks for the stream.


Constructor & Destructor Documentation

virtual Sirikata::Network::Stream::SetCallbacks::~SetCallbacks ( ) [inline, virtual]

Member Function Documentation

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.


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