Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

HBeatPacket Class Reference

Inheritance diagram for HBeatPacket:
Collaboration diagram for HBeatPacket:
List of all members.

Detailed Description

Packets sent on a time interval to maintain a constant connection with the other side.

Definition at line 12 of file HBeatPacket.h.

Public Member Functions

 HBeatPacket ()
 Constructor for a heartbeat packet.

 ~HBeatPacket ()
 Destructor for a heartbeat packet.

int sendPacket (int fd)
 send the packet over the outNet or another file descritor

void registerPacket ()
 register the packet to be sent over the outNet

Member Function Documentation

int HBeatPacket::sendPacket int  fd  )  [virtual]

send the packet over the outNet or another file descritor

fd to write the packet to
Return values:
1 on success -1 on error

Implements Packet.

The documentation for this class was generated from the following file:
Generated on Fri Mar 25 23:48:45 2005 for CS498EmbeddedSystemsProgramming by doxygen 1.3.6