Public Member Functions | Protected Attributes

Protocol Class Reference

#include <protocol.h>

Inheritance diagram for Protocol:
Inheritance graph
[legend]
Collaboration diagram for Protocol:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Protocol ()
virtual ~Protocol ()
virtual bool handShakeWait ()=0
virtual bool handShakeRequest ()=0
virtual bool handShakeResponse ()=0
virtual bool clientFinish ()=0
virtual bool serverFinish ()=0
virtual bool packetRequest ()=0
virtual bool packetSend ()=0
virtual bool packetRead ()=0
void resetBytesOut ()
int getBytesOut ()
void resetBytesIn ()
int getBytesIn ()

Protected Attributes

int _inbytes
int _outbytes

Constructor & Destructor Documentation

Protocol::Protocol (  )  [inline]
virtual Protocol::~Protocol (  )  [inline, virtual]

Member Function Documentation

virtual bool Protocol::clientFinish (  )  [pure virtual]
int Protocol::getBytesIn (  )  [inline]

References _inbytes.

int Protocol::getBytesOut (  )  [inline]

References _outbytes.

virtual bool Protocol::handShakeRequest (  )  [pure virtual]
virtual bool Protocol::handShakeResponse (  )  [pure virtual]
virtual bool Protocol::handShakeWait (  )  [pure virtual]
virtual bool Protocol::packetRead (  )  [pure virtual]
virtual bool Protocol::packetRequest (  )  [pure virtual]
virtual bool Protocol::packetSend (  )  [pure virtual]
void Protocol::resetBytesIn (  )  [inline]

References _inbytes.

void Protocol::resetBytesOut (  )  [inline]

References _outbytes.

virtual bool Protocol::serverFinish (  )  [pure virtual]

Member Data Documentation

int Protocol::_inbytes [protected]

Referenced by getBytesIn(), and resetBytesIn().

int Protocol::_outbytes [protected]

Referenced by getBytesOut(), and resetBytesOut().


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