Definition at line 18 of file viaNetManager.h.
Public Types | |
enum | sock_port { df_in_port = 1001, df_out_port = 1000 } |
enumeration for the ports used by the netmanager More... | |
Public Member Functions | |
int | netListener () |
makes calls to the in and out net to listen for socket connections | |
int | disconnect () |
forces a disconnect with the remote computer | |
int | writePacket (Packet *packet) |
sets up a packet to send over the outnet | |
int | waitForReply (int ID, Packet *packet) |
wait for a reply from a message | |
int | createID () |
create an id for a packet | |
Static Public Member Functions | |
ViaNetManager * | theInstance () |
returns the one and only instance of ViaNetManager | |
Protected Member Functions | |
ViaNetManager () | |
constructor for the ViaNetManager class | |
~ViaNetManager () | |
destructor for the ViaNetManager class | |
Private Attributes | |
SysLog * | systemLogger |
reference to the syslog | |
ViaInNetSock * | inNetSock |
refernce to the InNetSock | |
ViaOutNetSock * | outNetSock |
reference to the OutNetSock | |
sockaddr_in | defaultOutNet |
information for making a default out connection to the the robot | |
sockaddr_in | defaultInNet |
information for making a default in connection to the robot | |
int | curID |
current ID upto | |
Static Private Attributes | |
char * | df_addr |
the default ip address for connecting to the robot |
|
enumeration for the ports used by the netmanager
Definition at line 24 of file viaNetManager.h. |
|
create an id for a packet
|
|
forces a disconnect with the remote computer
|
|
makes calls to the in and out net to listen for socket connections
|
|
returns the one and only instance of ViaNetManager
|
|
wait for a reply from a message
|
|
sets up a packet to send over the outnet
|