class PortableMessageIOGateway : public AbstractMessageIOGateway (Return to index)

A "gateway" object that knows how to send/receive PortableMessages over a wire(via a provided PortableDataIO object).

Type:
    Instantiable

Superclasses:

Include file:
    ../../iogateway/PortableMessageIOGateway.h

May be subclassed to change the byte-level protocol, or used as is if the default protocol is desired. The default protocol format used by this class is: 1. 4 bytes (uint32) indicating the flattened size of the message 2. 4 bytes (uint32) indicating the encoding type (should always be ENCODING_DEFAULT for now) 3. n bytes of flattened PortableMessage (where n is the value specified in 1) 4. goto 1 ...

Synopsis:

Public methods:



Protected methods: