#include <phNodeComm.h>
Inheritance diagram for phNodeComm:
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) |
phLamportSystem * | getSystem () |
phSocket * | getSocket () |
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 |
phServerSocket * | m_server |
phSocket * | m_node_sock |
uint8_t * | m_buffer |
int | m_buffer_size |
int | m_connected |
phLamportSystem * | m_system |
Copyright (C) 2002 - 2007 |
Philip D.S. Thoren ( pthoren@users.sourceforge.net ) University Of Massachusetts at Lowell Robotics Lab |