Public Member Functions

CL_NetGameConnection Class Reference
[clanNetwork NetGame]

CL_NetGameConnection. More...

#include <connection.h>

List of all members.

Public Member Functions

 CL_NetGameConnection (CL_NetGameConnectionSite *site, const CL_TCPConnection &connection)
 Constructs a NetGameConnection.
 CL_NetGameConnection (CL_NetGameConnectionSite *site, const CL_SocketName &socket_name)
 ~CL_NetGameConnection ()
void disconnect ()
 Disconnects a client.
void * get_data (const CL_StringRef &name) const
 Get data.
void send_event (const CL_NetGameEvent &game_event)
 Send event.
void set_data (const CL_StringRef &name, void *data)
 Set data.

Detailed Description

CL_NetGameConnection.


Constructor & Destructor Documentation

CL_NetGameConnection::CL_NetGameConnection ( CL_NetGameConnectionSite site,
const CL_TCPConnection connection 
)

Constructs a NetGameConnection.

Parameters:
site = Net Game Connection Site
connection = TCPConnection
CL_NetGameConnection::CL_NetGameConnection ( CL_NetGameConnectionSite site,
const CL_SocketName socket_name 
)
CL_NetGameConnection::~CL_NetGameConnection (  ) 

Member Function Documentation

void CL_NetGameConnection::disconnect (  ) 

Disconnects a client.

void* CL_NetGameConnection::get_data ( const CL_StringRef name  )  const

Get data.

Parameters:
name = String Ref
Returns:
void
void CL_NetGameConnection::send_event ( const CL_NetGameEvent game_event  ) 

Send event.

Parameters:
game_event = Net Game Event
void CL_NetGameConnection::set_data ( const CL_StringRef name,
void *  data 
)

Set data.

Parameters:
name = String Ref
data = void

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