#include <packetmessageque.h>
Public Methods | |
PacketMessage (SocketInstance *const s, PacketBuffer *const p) | |
virtual | ~PacketMessage () |
PacketBuffer * | packet () const |
< Pointer to the packet that was read in. More... | |
SocketInstance * | socket () const |
< Pointer to the socket that the packet data was read from. More... | |
uint | id () const |
< Unique id of this packet. More... |
The PacketMessage object is created by the SimpleServer object, and is used to contain a pointer to the socket and packet data that was just read in.
|
Constructs a message that will be used to place into the message que.
|
|
Destructs. Does not delete objects that were passed in. You are responsible for that. |
|
< Unique id of this packet. This is rarely used. |
|
< Pointer to the packet that was read in.
|
|
< Pointer to the socket that the packet data was read from.
|