IoT::Mailer

class MailerServiceServerHelper

File Information

Library: IoT/Mailer
Package: Generated
Header: IoT/Mailer/MailerServiceServerHelper.h

Description

The MailerService is used to send emails via an SMTP server (using the OSP Mail or SecureMail service).

It provides a simplified, Remoting-based API that allows the service to be used in JavaScript.

Member Summary

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

Types Aliases

Service

using Service = IoT::Mailer::MailerService;

Constructors

MailerServiceServerHelper

MailerServiceServerHelper();

Destructor

~MailerServiceServerHelper

~MailerServiceServerHelper();

Member Functions

createRemoteObject static inline

static Poco::AutoPtr < IoT::Mailer::MailerServiceRemoteObject > createRemoteObject(
    Poco::SharedPtr < IoT::Mailer::MailerService > pServiceObject,
    const Poco::RemotingNG::Identifiable::ObjectId & oid
);

Creates and returns a RemoteObject wrapper for the given IoT::Mailer::MailerService instance.

registerObject static inline

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

Creates a RemoteObject wrapper for the given IoT::Mailer::MailerService 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::Mailer::MailerServiceRemoteObject > 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::Mailer::MailerService 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