#include <DataSerializer.h> [code]
Inherited by Protocols::Generics::PacketSerializer, and Protocols::Http::DataSerializer.
Inheritance diagram for Protocols::Generics::DataSerializer:

DataSerializer provides an abstract solution to the problem of exchanging application data (represented in Data objects) with a remote party over a Transport. A DataSerializer would know the correct binary format and will make sure that Data objects are correctly converted to and from raw bytes which are actually exchanged over the Transport.
DataSerializer further will guarantees that a Data object is either serialized completely (all bytes of its binary representation read to or written to Transport) or not at all. See read() and write() for more details.
Definition at line 46 of file DataSerializer.h.
Public Member Functions | |
| virtual | ~DataSerializer () |
| virtual bool | read (Data &, Transport *)=0 |
| virtual bool | write (const Data &, Transport *)=0 |
|
|
Definition at line 51 of file DataSerializer.h. |
|
||||||||||||
|
Implemented in Protocols::Generics::PacketSerializer. |
|
||||||||||||
|
Implemented in Protocols::Generics::PacketSerializer. |