%Net.PushNotifications.APNS
class %Net.PushNotifications.APNS extends %Library.RegisteredObject
// Implements Apple Push Notification Service connectivityProperty Inventory (Including Private)
Method Inventory (Including Private)
Parameters
parameter BUFFERSIZE = 16384;
parameter DEVICETOKENLENGTH = 32;
Properties (Including Private)
property ConnectTimeout as %Integer [ InitialExpression = 30 , Required ];
Connection timeout
Property methods: ConnectTimeoutDisplayToLogical(), ConnectTimeoutGet(), ConnectTimeoutIsValid(), ConnectTimeoutLogicalToDisplay(), ConnectTimeoutNormalize(), ConnectTimeoutSet()
property PushServerAddress as %String (MAXLEN = 1024) [ Required ];
APNS Push Server name/address
Property methods: PushServerAddressDisplayToLogical(), PushServerAddressGet(), PushServerAddressIsValid(), PushServerAddressLogicalToDisplay(), PushServerAddressLogicalToOdbc(), PushServerAddressNormalize(), PushServerAddressSet()
property PushServerPort as %String [ Required ];
APNS Push Server port
Property methods: PushServerPortDisplayToLogical(), PushServerPortGet(), PushServerPortIsValid(), PushServerPortLogicalToDisplay(), PushServerPortLogicalToOdbc(), PushServerPortNormalize(), PushServerPortSet()
property ResponseTimeout as %Integer [ InitialExpression = 5 , Required ];
APNS Message Response timeout
Property methods: ResponseTimeoutDisplayToLogical(), ResponseTimeoutGet(), ResponseTimeoutIsValid(), ResponseTimeoutLogicalToDisplay(), ResponseTimeoutNormalize(), ResponseTimeoutSet()
property SSLConfig as %String [ Required ];
APNS SSL Configuration
Property methods: SSLConfigDisplayToLogical(), SSLConfigGet(), SSLConfigIsValid(), SSLConfigLogicalToDisplay(), SSLConfigLogicalToOdbc(), SSLConfigNormalize(), SSLConfigSet()
Methods (Including Private)
method Connect() as %Status [ Language = objectscript ]
Connect to the Apple Push Notification Service
method Disconnect() as %Status [ Language = objectscript ]
method EnhancedPushNotification(pDeviceToken As %String, pRequestId As %Integer, pExpiresUTC As %TimeStamp, ByRef pNotificationData) as %Status [ Language = objectscript ]
Send a notification using the "enhanced" mechanism. The pDeviceToken represents a device identifier, the pNotificationData
is an array of the aps values (see the APNS docs) and pCustomData contains any additional data items
to be included.
method SimplePushNotification(pDeviceToken As %String, ByRef pNotificationData) as %Status [ Language = objectscript ]
Send a "simple" push notification. The pDeviceToken represents a device identifier, the pNotificationData
is an array of the aps values (see the APNS docs) and pCustomData contains any additional data items
to be included.
Inherited Members
Inherited Methods (Including Private)
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %ConstructCloneInit()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OnAddToSaveSet()
- %OnClose()
- %OnConstructClone()
- %OnNew()
- %OnValidateObject()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()