Poco::UPnP::GENA

class Serializer

File Information

Library: UPnP/GENA
Package: GENA
Header: Poco/UPnP/GENA/Serializer.h

Description

The Serializer for the UPnP GENA Transport.

This class can serialize GENA event messages (XML property sets).

Internally, the Serializer uses a Poco::XML::XMLWriter to immediately write XML to the stream, without first building an internal representation of the XML (such as a DOM document).

Inheritance

Direct Base Classes: Poco::RemotingNG::Serializer

All Base Classes: Poco::RemotingNG::Serializer, Poco::RemotingNG::SerializerBase

Member Summary

Member Functions: resetImpl, serialize, serializeData, serializeFaultMessage, serializeMessageBegin, serializeMessageEnd, serializeNullableBegin, serializeNullableEnd, serializeSequenceBegin, serializeSequenceEnd, serializeStructBegin, serializeStructEnd, setupImpl

Inherited Functions: clearProperties, getProperty, hasProperty, popProperty, pushAttribute, pushProperty, registerNamespace, reset, resetImpl, serialize, serializeFaultMessage, serializeMessageBegin, serializeMessageEnd, serializeNullableBegin, serializeNullableEnd, serializeOptionalBegin, serializeOptionalEnd, serializeSequenceBegin, serializeSequenceEnd, serializeStructBegin, serializeStructEnd, setup, setupImpl

Constructors

Serializer

Serializer();

Creates the Serializer.

Destructor

~Serializer virtual

~Serializer();

Destroys the Serializer.

Member Functions

serialize virtual

void serialize(
    const std::string & name,
    Poco::Int8 value
);

serialize virtual

void serialize(
    const std::string & name,
    Poco::UInt8 value
);

serialize virtual

void serialize(
    const std::string & name,
    Poco::Int16 value
);

serialize virtual

void serialize(
    const std::string & name,
    Poco::UInt16 value
);

serialize virtual

void serialize(
    const std::string & name,
    Poco::Int32 value
);

serialize virtual

void serialize(
    const std::string & name,
    Poco::UInt32 value
);

serialize virtual

void serialize(
    const std::string & name,
    long value
);

serialize virtual

void serialize(
    const std::string & name,
    unsigned long value
);

serialize virtual

void serialize(
    const std::string & name,
    Poco::Int64 value
);

serialize virtual

void serialize(
    const std::string & name,
    Poco::UInt64 value
);

serialize virtual

void serialize(
    const std::string & name,
    float value
);

serialize virtual

void serialize(
    const std::string & name,
    double value
);

serialize virtual

void serialize(
    const std::string & name,
    bool value
);

serialize virtual

void serialize(
    const std::string & name,
    char value
);

serialize virtual

void serialize(
    const std::string & name,
    const std::string & value
);

serialize virtual

void serialize(
    const std::string & name,
    const std::vector < char > & value
);

serializeFaultMessage virtual

void serializeFaultMessage(
    const std::string & name,
    const Poco::Exception & exc
);

serializeMessageBegin

void serializeMessageBegin(
    const std::string & name,
    Poco::RemotingNG::SerializerBase::MessageType type
);

serializeMessageEnd

void serializeMessageEnd(
    const std::string & name,
    Poco::RemotingNG::SerializerBase::MessageType type
);

serializeNullableBegin virtual

void serializeNullableBegin(
    const std::string & name,
    bool isNull
);

serializeNullableEnd virtual

void serializeNullableEnd(
    const std::string & name
);

serializeSequenceBegin virtual

void serializeSequenceBegin(
    const std::string & name,
    Poco::UInt32 numElems
);

serializeSequenceEnd virtual

void serializeSequenceEnd(
    const std::string & name
);

serializeStructBegin virtual

void serializeStructBegin(
    const std::string & name
);

serializeStructEnd virtual

void serializeStructEnd(
    const std::string & name
);

resetImpl protected virtual

void resetImpl();

serializeData protected

void serializeData(
    const std::string & name,
    const std::string & value
);

setupImpl protected virtual

void setupImpl(
    std::ostream & ostr
);

Variables

EMPTY_STRING static

static const XML::XMLString EMPTY_STRING;

UPNP_EVENT_NAMESPACE static

static const XML::XMLString UPNP_EVENT_NAMESPACE;

UPNP_PROPERTY static

static const XML::XMLString UPNP_PROPERTY;

UPNP_PROPERTYSET static

static const XML::XMLString UPNP_PROPERTYSET;

Securely control IoT edge devices from anywhere   Connect a Device