File Information
Library: IoT/OPC
Package: Generated
Header: IoT/OPC/OPCClientServerHelper.h
Description
Member Summary
Member Functions: createRemoteObject, registerObject, registerRemoteObject, shutdown, unregisterObject
Types Aliases
Service
using Service = IoT::OPC::OPCClient;
Constructors
OPCClientServerHelper
Creates a OPCClientServerHelper.
Destructor
~OPCClientServerHelper
Destroys the OPCClientServerHelper.
Member Functions
createRemoteObject
static Poco::AutoPtr < IoT::OPC::OPCClientRemoteObject > createRemoteObject(
Poco::SharedPtr < IoT::OPC::OPCClient > pServiceObject,
const Poco::RemotingNG::Identifiable::ObjectId & oid
);
Creates and returns a RemoteObject wrapper for the given IoT::OPC::OPCClient instance.
registerObject
static std::string registerObject(
Poco::SharedPtr < IoT::OPC::OPCClient > pServiceObject,
const Poco::RemotingNG::Identifiable::ObjectId & oid,
const std::string & listenerId
);
Creates a RemoteObject wrapper for the given IoT::OPC::OPCClient instance and registers it with the ORB and the Listener instance uniquely identified by the Listener's ID.
Returns the URI created for the object.
registerRemoteObject
static std::string registerRemoteObject(
Poco::AutoPtr < IoT::OPC::OPCClientRemoteObject > pRemoteObject,
const std::string & listenerId
);
Registers the given RemoteObject with the ORB and the Listener instance uniquely identified by the Listener's ID.
Returns the URI created for the object.
shutdown
static void shutdown();
Removes the Skeleton for IoT::OPC::OPCClient from the ORB.
unregisterObject
static void unregisterObject(
const std::string & uri
);
Unregisters a service object identified by URI from the ORB.