class EnsLib.PushNotifications.APNS.Operation
extends Ens.BusinessOperation, %Net.PushNotifications.APNS
Sends the notification request to the APNS server to forward to the specified device. The APNS server pushes the notification to one device for each call.
It does not return any information other than if an error occurs, an indication that the error has occurred.
This is a Business Operation class.
parameter BUFFERSIZE = 16384;
parameter DEVICETOKENLENGTH = 32;
parameter INVOCATION = "Queue";
2 modes: Queue, InProc
parameter SERVICETYPE = "APNS";
parameter SETTINGS = "PushServerAddress,PushServerPort,ConnectTimeout,ResponseTimeout,SSLConfig,NotificationProtocol";
List of properties can be set as settings in the configuration file
format is a comma separated list of property names
property Adapter
as Ens.OutboundAdapter;
The adapter instance
property NotificationProtocol
as %String(DISPLAYLIST=",Simple,Enhanced,Modern",VALUELIST=",simple,enhanced,modern") [ Required ];
Specifies the APNS notification protocol. Has one of the following values:
- Simple - Simple Notification Protocol, which does not return any value and does not notify you if the protocol message causes an error.
- Enhanced - Enhanced Notification Protocol, which returns values if the protocol message contains an error. This protocol does not return a value for messages without errors.
- Modern - Reserved for future use. The APNS operation does not support the Modern Notification Protocol.