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
);
Creates a ShortMessageServiceRemoteObject.
Destructor
~ShortMessageServiceRemoteObject
virtual ~ShortMessageServiceRemoteObject();
Destroys the ShortMessageServiceRemoteObject.
Member Functions
remoting__typeId
virtual const Poco::RemotingNG::Identifiable::TypeId & remoting__typeId() const;
send
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.
See also: IoT::SMS::IShortMessageService::send()