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

phNodeComm Class Reference

#include <phNodeComm.h>

Inheritance diagram for phNodeComm:

phThread phCondition phMutex phObject List of all members.

Detailed Description

Definition at line 38 of file phNodeComm.h.

Public Member Functions

 phNodeComm (int id=-1, int other_id=-1, int port=0, char *host=NULL, int type=-1, phLamportSystem *system=NULL)
virtual ~phNodeComm ()
int setPort (int port=0)
int getPort ()
int setConnectionType (int type=phNodeController_Connector)
int getConnectionType ()
int setHost (char *host)
char * getHost ()
int setId (int id)
int getId ()
int setOtherSideId (int other_side_id)
int getOtherSideId ()
int setConnected (int connected)
int isConnected ()
int setSystem (phLamportSystem *system)
phLamportSystemgetSystem ()
phSocketgetSocket ()
virtual int run ()
virtual int wakeup ()
virtual int cleanup ()
virtual int error ()

Private Member Functions

int Waiter ()
int Connector ()
int comm_loop ()

Private Attributes

int m_port
int m_type
char * m_host
int m_host_size
int m_id
int m_other_side_id
phServerSocketm_server
phSocketm_node_sock
uint8_tm_buffer
int m_buffer_size
int m_connected
phLamportSystemm_system


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:45:02 2007 for phission by  doxygen 1.4.4