IoT::S7PLC

class S7PLCClientServerHelper

File Information

Library: IoT/S7PLC
Package: Generated
Header: IoT/S7PLC/S7PLCClientServerHelper.h

Description

Step7 PLC Client Interface.

Member Summary

Member Functions: createRemoteObject, registerObject, registerRemoteObject, shutdown, unregisterObject

Types Aliases

Service

using Service = IoT::S7PLC::S7PLCClient;

Constructors

S7PLCClientServerHelper

S7PLCClientServerHelper();

Destructor

~S7PLCClientServerHelper

~S7PLCClientServerHelper();

Destroys the S7PLCClientServerHelper.

Member Functions

createRemoteObject static inline

static Poco::AutoPtr < IoT::S7PLC::S7PLCClientRemoteObject > createRemoteObject(
    Poco::SharedPtr < IoT::S7PLC::S7PLCClient > pServiceObject,
    const Poco::RemotingNG::Identifiable::ObjectId & oid
);

Creates and returns a RemoteObject wrapper for the given IoT::S7PLC::S7PLCClient instance.

registerObject static inline

static std::string registerObject(
    Poco::SharedPtr < IoT::S7PLC::S7PLCClient > pServiceObject,
    const Poco::RemotingNG::Identifiable::ObjectId & oid,
    const std::string & listenerId
);

Creates a RemoteObject wrapper for the given IoT::S7PLC::S7PLCClient 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 inline

static std::string registerRemoteObject(
    Poco::AutoPtr < IoT::S7PLC::S7PLCClientRemoteObject > 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

static void shutdown();

Removes the Skeleton for IoT::S7PLC::S7PLCClient from the ORB.

unregisterObject static inline

static void unregisterObject(
    const std::string & uri
);

Unregisters a service object identified by URI from the ORB.

Securely control IoT edge devices from anywhere   Connect a Device