IoT::SMS

class ShortMessageServiceRemoteObject

File Information

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

Description

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

Inheritance

Direct Base Classes: IShortMessageService, Poco::RemotingNG::RemoteObject

All Base Classes: IShortMessageService, Poco::OSP::Service, Poco::RefCountedObject, Poco::RemotingNG::Identifiable, Poco::RemotingNG::RemoteObject

Member Summary

Member Functions: remoting__typeId, send

Inherited Functions: duplicate, isA, mutex, referenceCount, release, remoting__enableRemoteEvents, remoting__getURI, remoting__hasEvents, remoting__objectId, remoting__setURI, remoting__typeId, send, type

Types Aliases

Ptr

using Ptr = Poco::AutoPtr < ShortMessageServiceRemoteObject >;

Constructors

ShortMessageServiceRemoteObject

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

Destructor

~ShortMessageServiceRemoteObject virtual

virtual ~ShortMessageServiceRemoteObject();

Member Functions

remoting__typeId virtual inline

virtual const Poco::RemotingNG::Identifiable::TypeId & remoting__typeId() const;

send virtual inline

virtual void send(
    const std::string & recipient,
    const std::string & content
);

Queues the given message for delivery to the given recipient (phone number).

Throws an implementation-specific exception if the message cannot be queued for delivery.

Securely control IoT edge devices from anywhere   Connect a Device