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

The connection structure. More...

#include <unified_network.h>

List of all members.

Public Member Functions

 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.
CCallbackNetBaseCbNetBase
 If it s a client connection, it's the client connection otherwise it s the server connection.
TSockId HostId
 If it s a server connection, it's the host id, it s InvalidId if it s a client.

Detailed Description

The connection structure.

Definition at line 466 of file unified_network.h.


Constructor & Destructor Documentation

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

Definition at line 475 of file unified_network.h.

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

Definition at line 476 of file unified_network.h.

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

Definition at line 477 of file unified_network.h.


Member Function Documentation

uint64 NLNET::CUnifiedNetwork::CUnifiedConnection::TConnection::getAppId (  )  [inline]
void NLNET::CUnifiedNetwork::CUnifiedConnection::TConnection::reset (  )  [inline]
void NLNET::CUnifiedNetwork::CUnifiedConnection::TConnection::setAppId ( uint64  appid  )  [inline]
bool NLNET::CUnifiedNetwork::CUnifiedConnection::TConnection::valid (  )  [inline]

Definition at line 482 of file unified_network.h.

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


Member Data Documentation

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

Definition at line 471 of file unified_network.h.

Referenced by getAppId(), reset(), setAppId(), and valid().

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

Definition at line 473 of file unified_network.h.

Referenced by getAppId(), reset(), setAppId(), and valid().

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

Definition at line 469 of file unified_network.h.

Referenced by reset(), and valid().


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

Generated on Thu Jan 7 08:30:21 2010 for NeL by  doxygen 1.6.1