Sirikata
Public Member Functions | Public Attributes
Sirikata::Network::TCPSetCallbacks Class Reference

#include <TCPSetCallbacks.hpp>

Inheritance diagram for Sirikata::Network::TCPSetCallbacks:
Collaboration diagram for Sirikata::Network::TCPSetCallbacks:

List of all members.

Public Member Functions

 TCPSetCallbacks (MultiplexedSocket *ms, TCPStream *strm)
virtual void operator() (const Stream::ConnectionCallback &connectionCallback, const Stream::ReceivedCallback &bytesReceivedCallback, const Stream::ReadySendCallback &readySendCallback)
 Function to be called from within a SubstreamCallback to set the callback functions of a newly cloned or received stream.

Public Attributes

TCPStream::CallbacksmCallbacks
TCPStreammStream
MultiplexedSocketmMultiSocket

Constructor & Destructor Documentation

Sirikata::Network::TCPSetCallbacks::TCPSetCallbacks ( MultiplexedSocket ms,
TCPStream strm 
) [inline]

Member Function Documentation

virtual void Sirikata::Network::TCPSetCallbacks::operator() ( const Stream::ConnectionCallback connectionCallback,
const Stream::ReceivedCallback receivedCallback,
const Stream::ReadySendCallback readySendCallback 
) [inline, 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

Implements Sirikata::Network::Stream::SetCallbacks.

References Sirikata::Network::MultiplexedSocket::addCallbacks(), Sirikata::Network::TCPStream::getID(), mCallbacks, mMultiSocket, Sirikata::Network::TCPStream::mSendStatus, and mStream.


Member Data Documentation

Referenced by operator()().

Referenced by operator()().


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