IoT::SMS

class IShortMessageService

File Information

Library: IoT/SMS
Package: Generated
Header: IoT/SMS/IShortMessageService.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: Poco::OSP::Service

All Base Classes: Poco::OSP::Service, Poco::RefCountedObject

Known Derived Classes: ShortMessageServiceRemoteObject

Member Summary

Member Functions: isA, remoting__typeId, send, type

Inherited Functions: duplicate, isA, referenceCount, release, type

Types Aliases

Ptr

using Ptr = Poco::AutoPtr < IShortMessageService >;

Constructors

IShortMessageService

IShortMessageService();

Destructor

~IShortMessageService virtual

virtual ~IShortMessageService();

Destroys the IShortMessageService.

Member Functions

isA virtual

bool isA(
    const std::type_info & otherType
) const;

Returns true if the class is a subclass of the class given by otherType.

remoting__typeId static

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

Returns the TypeId of the class.

send virtual

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

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.

type virtual

const std::type_info & type() const;

Returns the type information for the object's class.

Securely control IoT edge devices from anywhere   Connect a Device