VIP::Protocol Class Reference
#include <protocol.hh>
Inheritance diagram for VIP::Protocol:

Detailed Description
Definition at line 15 of file protocol.hh.
Public Member Functions
- Protocol (Connection *c)
- virtual ~Protocol ()
- virtual int getProtocolNum ()=0
- virtual void makeSYN (uint8_t *buf, unsigned int *bufsize)=0
- virtual bool replySYN (uint8_t *received, unsigned int recvsz, uint8_t *reply, unsigned int *replysz)=0
- virtual void setupWithSYN (uint8_t *received, unsigned int recvsz)=0
- virtual int queueData (Message *m)=0
- virtual void handleChunk (uint8_t *buf, unsigned int *bufsize)=0
- virtual void getNextChunk (uint8_t *buf, unsigned int *bufsize, bool ackOnly)=0
- virtual double desiredWaitTime ()=0
- virtual bool hasQueuedData ()=0
- virtual unsigned int queuedBytes (int channel)=0
Protected Attributes
Constructor & Destructor Documentation
| VIP::Protocol::Protocol | ( | Connection * | c | ) | [inline] |
Definition at line 21 of file protocol.hh.
| virtual VIP::Protocol::~Protocol | ( | ) | [inline, virtual] |
Definition at line 22 of file protocol.hh.
Member Function Documentation
| virtual double VIP::Protocol::desiredWaitTime | ( | ) | [pure virtual] |
Implemented in VIP::LowLatencyProto, and VIP::StandardProtocol.
| virtual void VIP::Protocol::getNextChunk | ( | uint8_t * | buf, | |
| unsigned int * | bufsize, | |||
| bool | ackOnly | |||
| ) | [pure virtual] |
Implemented in VIP::LowLatencyProto, and VIP::StandardProtocol.
| virtual int VIP::Protocol::getProtocolNum | ( | ) | [pure virtual] |
Implemented in VIP::LowLatencyProto, and VIP::StandardProtocol.
| virtual void VIP::Protocol::handleChunk | ( | uint8_t * | buf, | |
| unsigned int * | bufsize | |||
| ) | [pure virtual] |
Implemented in VIP::LowLatencyProto, and VIP::StandardProtocol.
| virtual bool VIP::Protocol::hasQueuedData | ( | ) | [pure virtual] |
Implemented in VIP::LowLatencyProto, and VIP::StandardProtocol.
| virtual void VIP::Protocol::makeSYN | ( | uint8_t * | buf, | |
| unsigned int * | bufsize | |||
| ) | [pure virtual] |
Implemented in VIP::LowLatencyProto, and VIP::StandardProtocol.
| virtual int VIP::Protocol::queueData | ( | Message * | m | ) | [pure virtual] |
Implemented in VIP::LowLatencyProto, and VIP::StandardProtocol.
| virtual unsigned int VIP::Protocol::queuedBytes | ( | int | channel | ) | [pure virtual] |
Implemented in VIP::LowLatencyProto, and VIP::StandardProtocol.
| virtual bool VIP::Protocol::replySYN | ( | uint8_t * | received, | |
| unsigned int | recvsz, | |||
| uint8_t * | reply, | |||
| unsigned int * | replysz | |||
| ) | [pure virtual] |
Implemented in VIP::LowLatencyProto, and VIP::StandardProtocol.
| virtual void VIP::Protocol::setupWithSYN | ( | uint8_t * | received, | |
| unsigned int | recvsz | |||
| ) | [pure virtual] |
Implemented in VIP::LowLatencyProto, and VIP::StandardProtocol.
Member Data Documentation
Connection* VIP::Protocol::connection [protected] |
Definition at line 18 of file protocol.hh.
The documentation for this class was generated from the following file:
- /home/tetron/hack/vos/libs/vos/vip/protocol.hh