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

EnsLib.PushNotifications.GCM.Operation

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

Interfaces with the Google Cloud Messaging Service

Property Inventory (Including Private)

Method Inventory (Including Private)

Parameters

parameter INVOCATION = Queue;
Inherited description: 2 modes: Queue, InProc
parameter SETTINGS = NotificationProtocol,PushServer,SSLConfig,Timeout;
Inherited description: List of properties can be set as settings in the configuration file format is a comma separated list of property names

Properties (Including Private)

property Adapter as Ens.OutboundAdapter;
Inherited description: The adapter instance
Property methods: AdapterGet(), AdapterGetSwizzled(), AdapterIsValid(), AdapterName(), AdapterNewObject(), AdapterSet()
property NotificationProtocol as %String (DISPLAYLIST = ",HTTP,XMPP", VALUELIST = ",http,xmpp") [ Required ];
Specifies the GCM notification protocol. Has one of the following values:

  • HTTP - HTTP REST protocol
  • XMPP - Reserved for future use. The GCM operation does not support the XMPP always connected, bi-directional protocol.
    Property methods: NotificationProtocolDisplayToLogical(), NotificationProtocolGet(), NotificationProtocolIsValid(), NotificationProtocolLogicalToDisplay(), NotificationProtocolLogicalToOdbc(), NotificationProtocolNormalize(), NotificationProtocolSet()

Methods (Including Private)

classmethod ConstructGCMHTTPPayloadArray(pRequest As EnsLib.PushNotifications.NotificationRequest, ByRef pPayloadArray As %String) as %Status [ Language = objectscript ]
Construct a payload request for GCM (over HTTP)
method OnInit() as %Status [ Language = objectscript ]
This user callback method is called via initConfig() from %OnNew() or in the case of SOAP Services from OnPreSOAP()
method OnTearDown() as %Status [ Language = objectscript ]
This user callback method is called from %OnClose()
method PushNotification(pRequest As EnsLib.PushNotifications.NotificationRequest, ByRef pResponse As EnsLib.PushNotifications.NotificationResponse) as %Status [ Language = objectscript ]
method doHTTPPushNotification(pRequest As EnsLib.PushNotifications.NotificationRequest, ByRef pResponse As EnsLib.PushNotifications.NotificationResponse) as %Status [ Language = objectscript ]
method doXMPPPushNotification(pRequest As EnsLib.PushNotifications.NotificationRequest, ByRef pResponse As EnsLib.PushNotifications.NotificationResponse) as %Status [ Language = objectscript ]

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)

FeedbackOpens in a new window