Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

phClientHandler Class Reference

#include <phClientHandler.h>

Inheritance diagram for phClientHandler:

phThread phCondition phMutex phObject List of all members.

Detailed Description

Definition at line 39 of file phClientHandler.h.

Public Member Functions

 phClientHandler (uint32_t controller_id=phID_INVALID, phSocket *sock=NULL, phLamportSystem *system=NULL)
virtual ~phClientHandler ()
int setSocket (phSocket *sock)
phSocketgetSocket ()
int setControllerId (uint32_t controller_id)
uint32_t getControllerId ()
int setClientId (uint32_t client_id)
uint32_t getClientId ()
int setSystem (phLamportSystem *system)
phLamportSystemgetSystem ()
virtual int run ()
virtual int wakeup ()
virtual int cleanup ()
virtual int error ()

Private Member Functions

int receive_message ()
int dispatch ()
int handle_client_hello ()
int handle_client_goodbye ()
int send_client_message (uint32_t message=phCLIENT_INVALID_MSG, uint32_t mutex_id=phID_INVALID)

Private Attributes

phLamportSystemm_system
phSocketm_sock
uint32_t m_controller_id
uint32_t m_client_id
phMessage m_message


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



Copyright (C) 2002 - 2007 Philip D.S. Thoren ( pthoren@users.sourceforge.net )
University Of Massachusetts at Lowell
Robotics Lab
SourceForge.net Logo

Generated on Sat Jun 16 02:44:47 2007 for phission by  doxygen 1.4.4