Poco::Remoting

class Identifiable

Library: Remoting
Package: Remoting
Header: Poco/Remoting/Identifiable.h

Description

A Identifiable object adds type information and an object ID to the class. The remoting__ prefix for the Identifiable methods is used to avoid nameclashes with method names that RemoteObjects offer.

Inheritance

Direct Base Classes: Poco::RefCountedObject

All Base Classes: Poco::RefCountedObject

Known Derived Classes: Poco::Netconf::ConfigurationServiceRemoteObject, Poco::Netconf::ConfigurationServiceProxy, Proxy, RemoteObject

Member Summary

Member Functions: remoting__getObjectId, remoting__getTypeId, remoting__setObjectId

Inherited Functions: duplicate, referenceCount, release

Types

ObjectId

typedef std::string ObjectId;

TypeId

typedef std::string TypeId;

Constructors

Identifiable

Identifiable();

Creates the Identifiable with an empty Identifiable::ObjectId.

Identifiable

Identifiable(
    const Identifiable::ObjectId & oid
);

Creates the Identifiable.

Destructor

~Identifiable virtual

virtual ~Identifiable();

Destroys the Identifiable.

Member Functions

remoting__getObjectId inline

const Identifiable::ObjectId & remoting__getObjectId() const;

Allows to query for an objectId.

remoting__getTypeId virtual

virtual const Identifiable::TypeId & remoting__getTypeId() const = 0;

Allows to query for a TypeId.

remoting__setObjectId inline

void remoting__setObjectId(
    const Identifiable::ObjectId & oid
);

Allows to assign an objectid to the object.