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
Creates a IShortMessageService.
Destructor
~IShortMessageService
virtual ~IShortMessageService();
Destroys the IShortMessageService.
Member Functions
isA
bool isA(
const std::type_info & otherType
) const;
Returns true if the class is a subclass of the class given by otherType.
See also: Poco::OSP::Service::isA()
remoting__typeId
static const Poco::RemotingNG::Identifiable::TypeId & remoting__typeId();
Returns the TypeId of the class.
send
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
const std::type_info & type() const;
Returns the type information for the object's class.
See also: Poco::OSP::Service::type()