This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > ENSLIB namespace > EnsLib.PushNotifications.APNS.Operation

EnsLib.PushNotifications.APNS.Operation

class EnsLib.PushNotifications.APNS.Operation extends Ens.BusinessOperation, %Net.PushNotifications.APNS

Interfaces with the Apple Push Notification Service

Property Inventory

Method Inventory

Parameters

parameter BUFFERSIZE = 16384;
parameter DEVICETOKENLENGTH = 32;
parameter INVOCATION = Queue;
Inherited description: 2 modes: Queue, InProc
parameter SERVICETYPE = APNS;
parameter SETTINGS = PushServerAddress,PushServerPort,ConnectTimeout,ResponseTimeout,SSLConfig,NotificationProtocol;
Inherited description: List of properties can be set as settings in the configuration file format is a comma separated list of property names

Properties

property Adapter as Ens.OutboundAdapter;
Inherited description: The adapter instance
Property methods: AdapterGet(), AdapterGetSwizzled(), AdapterIsValid(), AdapterName(), AdapterNewObject(), AdapterSet()
property NotificationProtocol as %String (DISPLAYLIST = ",Simple,Enhanced,Modern", VALUELIST = ",simple,enhanced,modern") [ Required ];
APNS Notification to use
Property methods: NotificationProtocolDisplayToLogical(), NotificationProtocolGet(), NotificationProtocolIsValid(), NotificationProtocolLogicalToDisplay(), NotificationProtocolLogicalToOdbc(), NotificationProtocolNormalize(), NotificationProtocolSet()

Methods

classmethod ConstructAPNSPayloadArray(pRequest As EnsLib.PushNotifications.NotificationRequest, ByRef pPayloadData As %String) as %Status
Build the intermediate APNS payload array from the message
method OnInit() as %Status
This user callback method is called via initConfig() from %OnNew() or in the case of SOAP Services from OnPreSOAP()
method OnTearDown() as %Status
This user callback method is called from %OnClose()
method PushNotification(pRequest As EnsLib.PushNotifications.NotificationRequest, ByRef pResponse As EnsLib.PushNotifications.NotificationResponse) as %Status
method doEnhancedPushNotification(pRequest As EnsLib.PushNotifications.NotificationRequest, ByRef pResponse As EnsLib.PushNotifications.NotificationResponse) as %Status
method doModernPushNotification(pRequest As EnsLib.PushNotifications.NotificationRequest, ByRef pResponse As EnsLib.PushNotifications.NotificationResponse) as %Status
method doSimplePushNotification(pRequest As EnsLib.PushNotifications.NotificationRequest, ByRef pResponse As EnsLib.PushNotifications.NotificationResponse) as %Status

Inherited Members

Inherited Properties

Inherited Methods

Feedback