# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NLNET::CUnifiedNetwork::CUnifiedConnection::TConnection Struct Reference

The connection structure. More...

#include <unified_network.h>

List of all members.

Public Methods

 TConnection ()
 TConnection (CCallbackClient *cbc)
 TConnection (CCallbackNetBase *cbnb, TSockId hi)
void setAppId (uint64 appid)
uint64 getAppId ()
bool valid ()
void reset ()

Public Attributes

bool IsServerConnection
 If the current service is connect to the other service as a server or a client. More...

CCallbackNetBaseCbNetBase
 If it s a client connection, it's the client connection otherwise it s the server connection. More...

TSockId HostId
 If it s a server connection, it's the host id, it s InvalidId if it s a client. More...


Detailed Description

The connection structure.

Definition at line 248 of file unified_network.h.


Constructor & Destructor Documentation

NLNET::CUnifiedNetwork::CUnifiedConnection::TConnection::TConnection   [inline]
 

Definition at line 257 of file unified_network.h.

References CbNetBase, HostId, and IsServerConnection.

NLNET::CUnifiedNetwork::CUnifiedConnection::TConnection::TConnection CCallbackClient   cbc [inline]
 

Definition at line 258 of file unified_network.h.

References CbNetBase, HostId, and IsServerConnection.

NLNET::CUnifiedNetwork::CUnifiedConnection::TConnection::TConnection CCallbackNetBase   cbnb,
TSockId    hi
[inline]
 

Definition at line 259 of file unified_network.h.

References CbNetBase, HostId, IsServerConnection, and NLNET::TSockId.


Member Function Documentation

uint64 NLNET::CUnifiedNetwork::CUnifiedConnection::TConnection::getAppId   [inline]
 

Definition at line 262 of file unified_network.h.

References CbNetBase.

void NLNET::CUnifiedNetwork::CUnifiedConnection::TConnection::reset   [inline]
 

Definition at line 272 of file unified_network.h.

References CbNetBase, HostId, and IsServerConnection.

void NLNET::CUnifiedNetwork::CUnifiedConnection::TConnection::setAppId uint64    appid [inline]
 

Definition at line 261 of file unified_network.h.

References CbNetBase.

bool NLNET::CUnifiedNetwork::CUnifiedConnection::TConnection::valid   [inline]
 

Definition at line 264 of file unified_network.h.

References CbNetBase, and HostId.


Member Data Documentation

CCallbackNetBase* NLNET::CUnifiedNetwork::CUnifiedConnection::TConnection::CbNetBase
 

If it s a client connection, it's the client connection otherwise it s the server connection.

Definition at line 253 of file unified_network.h.

Referenced by getAppId, reset, setAppId, TConnection, and valid.

TSockId NLNET::CUnifiedNetwork::CUnifiedConnection::TConnection::HostId
 

If it s a server connection, it's the host id, it s InvalidId if it s a client.

Definition at line 255 of file unified_network.h.

Referenced by reset, TConnection, and valid.

bool NLNET::CUnifiedNetwork::CUnifiedConnection::TConnection::IsServerConnection
 

If the current service is connect to the other service as a server or a client.

Definition at line 251 of file unified_network.h.

Referenced by reset, and TConnection.


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