Poco::UPnP::GENA

class Transport

File Information

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

Description

The Transport implementation for UPnP GENA.

Inheritance

Direct Base Classes: Poco::RemotingNG::Transport

All Base Classes: Poco::RefCountedObject, Poco::RemotingNG::AttributedObject, Poco::RemotingNG::Transport

Member Summary

Member Functions: beginMessage, beginRequest, connect, connected, disconnect, endPoint, endRequest, sendMessage, sendRequest

Inherited Functions: beginMessage, beginRequest, clearAttributes, connect, connected, countAttributes, disconnect, duplicate, endPoint, endRequest, enumerateAttributes, getAttribute, hasAttribute, lock, operator =, referenceCount, release, removeAttribute, sendMessage, sendRequest, setAttribute, unlock

Constructors

Transport

Transport(
    const Poco::Timespan & timeout,
    bool keepAlive,
    const Poco::Timespan & keepAliveTimeout
);

Creates a Transport.

If keepAlive is true, enables HTTP 1.1 persistent connections for this Transport connection.

Destructor

~Transport virtual

~Transport();

Destroys the Transport.

Member Functions

beginMessage

Poco::RemotingNG::Serializer & beginMessage(
    const Poco::RemotingNG::Identifiable::ObjectId & oid,
    const Poco::RemotingNG::Identifiable::TypeId & tid,
    const std::string & messageName,
    Poco::RemotingNG::SerializerBase::MessageType messageType
);

beginRequest

Poco::RemotingNG::Serializer & beginRequest(
    const Poco::RemotingNG::Identifiable::ObjectId & oid,
    const Poco::RemotingNG::Identifiable::TypeId & tid,
    const std::string & messageName,
    Poco::RemotingNG::SerializerBase::MessageType messageType
);

connect virtual

void connect(
    const std::string & endPoint
);

connected virtual

bool connected() const;

disconnect virtual

void disconnect();

endPoint virtual

const std::string & endPoint() const;

endRequest virtual

void endRequest();

sendMessage

void sendMessage(
    const Poco::RemotingNG::Identifiable::ObjectId & oid,
    const Poco::RemotingNG::Identifiable::TypeId & tid,
    const std::string & messageName,
    Poco::RemotingNG::SerializerBase::MessageType messageType
);

sendRequest

Poco::RemotingNG::Deserializer & sendRequest(
    const Poco::RemotingNG::Identifiable::ObjectId & oid,
    const Poco::RemotingNG::Identifiable::TypeId & tid,
    const std::string & messageName,
    Poco::RemotingNG::SerializerBase::MessageType messageType
);

Variables

CONTENT_TYPE static

static const std::string CONTENT_TYPE;

HDR_NT static

static const std::string HDR_NT;

HDR_NTS static

static const std::string HDR_NTS;

HDR_SEQ static

static const std::string HDR_SEQ;

HDR_SID static

static const std::string HDR_SID;

NOTIFY static

static const std::string NOTIFY;

PROTOCOL static

static const std::string PROTOCOL;

UPNP_EVENT static

static const std::string UPNP_EVENT;

UPNP_PROPCHANGE static

static const std::string UPNP_PROPCHANGE;

Securely control IoT edge devices from anywhere   Connect a Device