XLE  v0.02.0
Public Types | Public Member Functions | Protected Attributes | Static Protected Attributes | List of all members
PlatformRig::Network::ContactSession Class Reference

Public Types

typedef PacketHandler< ContactSession, ContactPacket::Type::Enum, ContactPacket::Type::Max > HandlerImpl
 

Public Member Functions

 ContactSession (MeshNodeId localMeshNodeId)
 
MeshNodeId GetRemoteMeshNodeId () const
 
MeshNodeId GetLocalMeshNodeId () const
 
void SetRemoteMeshNodeId (MeshNodeId newId)
 
void OnDisconnect ()
 
void AttachTransport (XlConnection *connection)
 
XlConnection * GetTransport ()
 
int HandlePacket (IoBuffer &buffer)
 

Protected Attributes

MeshNodeId _remoteMeshNodeId
 
MeshNodeId _localMeshNodeId
 
intrusive_ptr< XlConnection > _transport
 

Static Protected Attributes

static HandlerImpl _impl
 /// /// /// /// /// /// /// /// /// /// ///
 

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