#include <DataSerializer.h> [code]
Inherits Protocols::Generics::DataSerializer.
Inheritance diagram for Protocols::Http::DataSerializer:


Definition at line 38 of file DataSerializer.h.
Public Member Functions | |
| DataSerializer (Protocol *) | |
| Constructs a DataSerializer object. | |
| bool | read (Data &, Transport *) |
| Reads data from transport if possible. | |
| bool | write (const Data &, Transport *) |
| Writes data to transport if it can take all the data. | |
Private Member Functions | |
| bool | readHeader (Data &, Transport *) |
| Helper to read a Header object in data from transport. | |
| bool | readBody (Data &, Transport *) |
| Helper to read a body chunk in data from transport. | |
| bool | writeHeader (const Data &, Transport *) |
| Helper to write the header in data to transport. | |
| bool | writeBody (const Data &, Transport *) |
| Helper to write the body chunk data to transport. | |
Private Attributes | |
| Protocol * | protocol |
| BodyReader * | bodyReader |
| BodyWriter * | bodyWriter |
|
|
Constructs a DataSerializer object.
Definition at line 36 of file DataSerializer.cpp. |
|
||||||||||||
|
Reads data from transport if possible.
Definition at line 52 of file DataSerializer.cpp. |
|
||||||||||||
|
Helper to read a body chunk in data from transport.
Definition at line 79 of file DataSerializer.cpp. |
|
||||||||||||
|
Helper to read a Header object in data from transport.
Definition at line 61 of file DataSerializer.cpp. |
|
||||||||||||
|
Writes data to transport if it can take all the data.
Definition at line 102 of file DataSerializer.cpp. |
|
||||||||||||
|
Helper to write the body chunk data to transport.
Definition at line 123 of file DataSerializer.cpp. |
|
||||||||||||
|
Helper to write the header in data to transport.
Definition at line 111 of file DataSerializer.cpp. |
|
|
Definition at line 54 of file DataSerializer.h. |
|
|
Definition at line 55 of file DataSerializer.h. |
|
|
Definition at line 53 of file DataSerializer.h. |