IoT::SMS

class ShortMessageServiceServerHelper

File Information

Library: IoT/SMS
Package: Generated
Header: IoT/SMS/ShortMessageServiceServerHelper.h

Description

The ShortMessageService is used to send SMS messages, either via a connected modem, or via a web service such as Twilio.

Member Summary

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

Types Aliases

Service

using Service = IoT::SMS::ShortMessageService;

Constructors

ShortMessageServiceServerHelper

ShortMessageServiceServerHelper();

Destructor

~ShortMessageServiceServerHelper

~ShortMessageServiceServerHelper();

Member Functions

createRemoteObject static inline

static Poco::AutoPtr < IoT::SMS::ShortMessageServiceRemoteObject > createRemoteObject(
    Poco::SharedPtr < IoT::SMS::ShortMessageService > pServiceObject,
    const Poco::RemotingNG::Identifiable::ObjectId & oid
);

Creates and returns a RemoteObject wrapper for the given IoT::SMS::ShortMessageService instance.

registerObject static inline

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

Creates a RemoteObject wrapper for the given IoT::SMS::ShortMessageService 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::SMS::ShortMessageServiceRemoteObject > 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::SMS::ShortMessageService 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