#include <FinPacket.h>
Inheritance diagram for FinPacket::
Public Methods | |
FinPacket () | |
Used to create a FIN packet from scratch. More... | |
virtual | ~FinPacket () |
FinPacket (unsigned char *rawData) | |
Used to decode a FIN packet when we receive it. More... | |
unsigned short | getErrorCode () |
void | setErrorCode (unsigned short code) |
virtual unsigned char * | getRawData () |
Encodes a packet right before it is sent over the wire. More... | |
virtual void | toStream (std::ostream &) |
Gets the length of the whole packet and makes sure the length makes sense. More... | |
Private Attributes | |
unsigned short | m_errorCode |
Definition at line 6 of file FinPacket.h.
|
Used to create a FIN packet from scratch.
Definition at line 13 of file FinPacket.cpp. |
|
Definition at line 14 of file FinPacket.h. |
|
Used to decode a FIN packet when we receive it.
Definition at line 24 of file FinPacket.cpp. |
|
Definition at line 48 of file FinPacket.cpp. Referenced by ServiceTable::signalDisconnect().
|
|
Encodes a packet right before it is sent over the wire.
Reimplemented from NpPacket. Definition at line 34 of file FinPacket.cpp. |
|
Definition at line 54 of file FinPacket.cpp. |
|
Gets the length of the whole packet and makes sure the length makes sense.
Reimplemented from NpPacket. Definition at line 60 of file FinPacket.cpp. |
|
Definition at line 26 of file FinPacket.h. |