Poco::UPnP::SOAP

class Serializer

File Information

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

Description

The Serializer for the UPnP SOAP Transport.

This class can serialize SOAP requests and responses, as well as XML schema based complex types.

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_ATTRIBUTES static

static const XML::AttributesImpl EMPTY_ATTRIBUTES;

EMPTY_STRING static

static const XML::XMLString EMPTY_STRING;

SOAP_ACTION_PREFIX static

static const XML::XMLString SOAP_ACTION_PREFIX;

SOAP_BODY static

static const XML::XMLString SOAP_BODY;

SOAP_ENCODING static

static const XML::XMLString SOAP_ENCODING;

SOAP_ENCODING_STYLE static

static const XML::XMLString SOAP_ENCODING_STYLE;

SOAP_ENVELOPE static

static const XML::XMLString SOAP_ENVELOPE;

SOAP_ENVELOPE_PREFIX static

static const XML::XMLString SOAP_ENVELOPE_PREFIX;

SOAP_FALSE static

static const XML::XMLString SOAP_FALSE;

SOAP_FAULT static

static const XML::XMLString SOAP_FAULT;

SOAP_FAULTCODE static

static const XML::XMLString SOAP_FAULTCODE;

SOAP_FAULTCODE_CLIENT static

static const XML::XMLString SOAP_FAULTCODE_CLIENT;

SOAP_FAULTDETAIL static

static const XML::XMLString SOAP_FAULTDETAIL;

SOAP_FAULTSTRING static

static const XML::XMLString SOAP_FAULTSTRING;

SOAP_NAMESPACE static

static const XML::XMLString SOAP_NAMESPACE;

SOAP_TRUE static

static const XML::XMLString SOAP_TRUE;

UPNP_ERROR static

static const XML::XMLString UPNP_ERROR;

UPNP_ERROR_CODE static

static const XML::XMLString UPNP_ERROR_CODE;

UPNP_ERROR_DESCRIPTION static

static const XML::XMLString UPNP_ERROR_DESCRIPTION;

UPNP_ERROR_NAMESPACE static

static const XML::XMLString UPNP_ERROR_NAMESPACE;

Securely control IoT edge devices from anywhere   Connect a Device