Sirikata
Public Types | Public Member Functions | Public Attributes | Private Attributes
Sirikata::SST::ConnectionVariables< EndPointType > Class Template Reference

#include <SSTImpl.hpp>

Collaboration diagram for Sirikata::SST::ConnectionVariables< EndPointType >:

List of all members.

Public Types

typedef std::tr1::shared_ptr
< BaseDatagramLayer
< EndPointType > > 
BaseDatagramLayerPtr
typedef CallbackTypes
< EndPointType > 
CBTypes
typedef
CBTypes::ConnectionReturnCallbackFunction 
ConnectionReturnCallbackFunction
typedef
CBTypes::StreamReturnCallbackFunction 
StreamReturnCallbackFunction
typedef
std::tr1::unordered_map
< EndPoint< EndPointType >
, StreamReturnCallbackFunction,
typename EndPoint
< EndPointType >::Hasher
StreamReturnCallbackMap
typedef
std::tr1::unordered_map
< EndPoint< EndPointType >
, std::tr1::shared_ptr
< Connection< EndPointType >
>, typename EndPoint
< EndPointType >::Hasher
ConnectionMap
typedef
std::tr1::unordered_map
< EndPoint< EndPointType >
, ConnectionReturnCallbackFunction,
typename EndPoint
< EndPointType >::Hasher
ConnectionReturnCallbackMap

Public Member Functions

uint32 getAvailableChannel (EndPointType &endPointType)
void releaseChannel (EndPointType &ept, uint32 channel)
BaseDatagramLayerPtr getDatagramLayer (EndPointType &endPoint)
void addDatagramLayer (EndPointType &endPoint, BaseDatagramLayerPtr datagramLayer)
void removeDatagramLayer (EndPointType &endPoint, bool warn=false)

Public Attributes

StreamReturnCallbackMap mStreamReturnCallbackMap
ConnectionMap sConnectionMap
ConnectionReturnCallbackMap sConnectionReturnCallbackMap
StreamReturnCallbackMap sListeningConnectionsCallbackMap
Mutex sStaticMembersLock

Private Attributes

std::tr1::unordered_map
< EndPointType,
BaseDatagramLayerPtr, typename
EndPointType::Hasher > 
sDatagramLayerMap

template<class EndPointType>
class Sirikata::SST::ConnectionVariables< EndPointType >


Member Typedef Documentation

template<class EndPointType>
typedef std::tr1::shared_ptr<BaseDatagramLayer<EndPointType> > Sirikata::SST::ConnectionVariables< EndPointType >::BaseDatagramLayerPtr
template<class EndPointType>
typedef CallbackTypes<EndPointType> Sirikata::SST::ConnectionVariables< EndPointType >::CBTypes
template<class EndPointType>
typedef std::tr1::unordered_map<EndPoint<EndPointType>, std::tr1::shared_ptr<Connection<EndPointType> >, typename EndPoint<EndPointType>::Hasher > Sirikata::SST::ConnectionVariables< EndPointType >::ConnectionMap
template<class EndPointType>
typedef std::tr1::unordered_map<EndPoint<EndPointType>, ConnectionReturnCallbackFunction, typename EndPoint<EndPointType>::Hasher> Sirikata::SST::ConnectionVariables< EndPointType >::ConnectionReturnCallbackMap
template<class EndPointType>
typedef std::tr1::unordered_map<EndPoint<EndPointType>, StreamReturnCallbackFunction, typename EndPoint<EndPointType>::Hasher> Sirikata::SST::ConnectionVariables< EndPointType >::StreamReturnCallbackMap

Member Function Documentation

template<class EndPointType>
void Sirikata::SST::ConnectionVariables< EndPointType >::addDatagramLayer ( EndPointType &  endPoint,
BaseDatagramLayerPtr  datagramLayer 
) [inline]
template<class EndPointType>
uint32 Sirikata::SST::ConnectionVariables< EndPointType >::getAvailableChannel ( EndPointType &  endPointType) [inline]
template<class EndPointType>
BaseDatagramLayerPtr Sirikata::SST::ConnectionVariables< EndPointType >::getDatagramLayer ( EndPointType &  endPoint) [inline]
template<class EndPointType>
void Sirikata::SST::ConnectionVariables< EndPointType >::releaseChannel ( EndPointType &  ept,
uint32  channel 
) [inline]
template<class EndPointType>
void Sirikata::SST::ConnectionVariables< EndPointType >::removeDatagramLayer ( EndPointType &  endPoint,
bool  warn = false 
) [inline]

Member Data Documentation

template<class EndPointType>
ConnectionMap Sirikata::SST::ConnectionVariables< EndPointType >::sConnectionMap
template<class EndPointType>
std::tr1::unordered_map<EndPointType, BaseDatagramLayerPtr, typename EndPointType::Hasher > Sirikata::SST::ConnectionVariables< EndPointType >::sDatagramLayerMap [private]
template<class EndPointType>
Mutex Sirikata::SST::ConnectionVariables< EndPointType >::sStaticMembersLock

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