Poco::UPnP::GENA

class Transport

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, connect, connected, disconnect, duplicate, endPoint, endRequest, getAttribute, hasAttribute, referenceCount, release, sendMessage, sendRequest, setAttribute

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
);

See also: Poco::RemotingNG::Transport::connect()

connected virtual

bool connected() const;

See also: Poco::RemotingNG::Transport::connected()

disconnect virtual

void disconnect();

See also: Poco::RemotingNG::Transport::disconnect()

endPoint virtual

const std::string & endPoint() const;

See also: Poco::RemotingNG::Transport::endPoint()

endRequest virtual

void endRequest();

See also: Poco::RemotingNG::Transport::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;