Additional interfaces needed by socket channels to allocate and transport the data type. A packet transported by socket must have the ability to be serialized to and deserialized from a private buffer.
Definition at line 72 of file IChannelPacket.hpp.

Public Member Functions | |
| virtual void | deserialize (size_t)=0 |
| virtual uint8_t * | getBuffer ()=0 |
| virtual size_t | getBufferSize ()=0 |
| virtual size_t | serialize ()=0 |
|
pure virtual |
Deserialize the packet contents from the payload.
Implemented in dw::framework::ChannelPacketDefault, and dw::framework::ChannelSocketPacketBase.
|
pure virtual |
Get a pointer to the serialized payload.
Implemented in dw::framework::ChannelPacketDefault, and dw::framework::ChannelSocketPacketBase.
|
pure virtual |
Get the maximum size of the serialized payload.
Implemented in dw::framework::ChannelPacketDefault, and dw::framework::ChannelSocketPacketBase.
|
pure virtual |
Serialize the packet contents to the payload.
Implemented in dw::framework::ChannelPacketDefault, and dw::framework::ChannelSocketPacketBase.