MercuryNetServerConnection Class Reference

#include <MercuryNetServer.h>

Collaboration diagram for MercuryNetServerConnection:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MercuryNetServerConnection (ezSockets *pAccepted)
 ~MercuryNetServerConnection ()
void BroadcastToClient (const MString &sMessage, const PStack &pParameters)
void CoreThread ()
bool IsActive ()
void SendCommand (const MString &sCommandName, const PStack &kParameters)
void SetNetClass (MercuryObject *pNetClass)
 Set the class that gets commands executed upon it (for security reasons, it can't be _this_ class).
void AttachParent (MercuryNetServer *pParent)

Static Public Member Functions

static void * CoreThreadCaller (void *NetClient)

Protected Attributes

MercuryNetServerm_pParent
MercuryObjectm_pNetClass
MercuryThread m_thdMain
bool m_bIsActive
ezSocketsm_pConnection
float m_fHalfPing

Friends

class MercuryNetServer

Detailed Description

Definition at line 22 of file MercuryNetServer.h.


Constructor & Destructor Documentation

MercuryNetServerConnection::MercuryNetServerConnection ( ezSockets pAccepted  ) 

Definition at line 13 of file MercuryNetServer.cpp.

MercuryNetServerConnection::~MercuryNetServerConnection (  ) 

Definition at line 6 of file MercuryNetServer.cpp.


Member Function Documentation

void MercuryNetServerConnection::BroadcastToClient ( const MString sMessage,
const PStack pParameters 
)

Definition at line 37 of file MercuryNetServer.cpp.

void * MercuryNetServerConnection::CoreThreadCaller ( void *  NetClient  )  [static]

Definition at line 47 of file MercuryNetServer.cpp.

void MercuryNetServerConnection::CoreThread (  ) 

Definition at line 53 of file MercuryNetServer.cpp.

bool MercuryNetServerConnection::IsActive (  )  [inline]

Definition at line 30 of file MercuryNetServer.h.

void MercuryNetServerConnection::SendCommand ( const MString sCommandName,
const PStack kParameters 
)

Definition at line 27 of file MercuryNetServer.cpp.

void MercuryNetServerConnection::SetNetClass ( MercuryObject pNetClass  )  [inline]

Set the class that gets commands executed upon it (for security reasons, it can't be _this_ class).

Definition at line 34 of file MercuryNetServer.h.

void MercuryNetServerConnection::AttachParent ( MercuryNetServer pParent  )  [inline]

Definition at line 36 of file MercuryNetServer.h.


Friends And Related Function Documentation

friend class MercuryNetServer [friend]

Definition at line 44 of file MercuryNetServer.h.


Member Data Documentation

MercuryNetServer* MercuryNetServerConnection::m_pParent [protected]

Definition at line 38 of file MercuryNetServer.h.

MercuryObject* MercuryNetServerConnection::m_pNetClass [protected]

Definition at line 39 of file MercuryNetServer.h.

MercuryThread MercuryNetServerConnection::m_thdMain [protected]

Definition at line 40 of file MercuryNetServer.h.

bool MercuryNetServerConnection::m_bIsActive [protected]

Definition at line 41 of file MercuryNetServer.h.

ezSockets* MercuryNetServerConnection::m_pConnection [protected]

Definition at line 42 of file MercuryNetServer.h.

float MercuryNetServerConnection::m_fHalfPing [protected]

Definition at line 43 of file MercuryNetServer.h.


The documentation for this class was generated from the following files:
Hosted by SourceForge.net Logo