Click or drag to resize
GDPushConnection Class
Manage Push Channel connection.
Inheritance Hierarchy
SystemObject
  GDGDPushConnection

Namespace:  GD
Assembly:  GD (in GD.dll) Version: 255.255.255.255
Syntax
public sealed class GDPushConnection

The GDPushConnection type exposes the following members.

Constructors
  NameDescription
Public methodGDPushConnection
Initializes a new instance of the GDPushConnection class
Top
Properties
  NameDescription
Public propertyIsConnected
Gets the current status of the Push Channel connection.
Top
Methods
  NameDescription
Public methodConnect
Call this function to establish, or re-establish, the Push Channel connection with the BlackBerry Dynamics proxy infrastructure Network Operation Center (NOC).
Public methodDisconnect
Call this function to terminate the Push Channel connection with the BlackBerry Dynamics proxy infrastructure Network Operation Center (NOC).
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodInit
Initializes listener.
Public methodToString (Inherited from Object.)
Top
Remarks

Detailed Description

This API is part of the BlackBerry Dynamics Push Channel feature. For an overall description of how to use the feature, see under GDPushChannel.

The Push Connection is the container and conduit for the device's Push Channels. An application may open multiple Push Channels; all will be managed within a single Push Connection.

The Push Connection is automatically established during BlackBerry Dynamics authorization processing, and then maintained by the BlackBerry Dynamics Runtime under application control. The application can instruct the runtime to switch the Push Connection off and on.

When instructed to switch off, the SDK will terminate the Push Connection, and suspend its maintenance. When instructed to switch back on, the SDK will re-establish the Push Connection, and resume maintenance.

Switching off the Push Connection might be an option that the application offers to the end user, for example, allowing them to reduce power consumption on the device.

Push Connection functions cannot be called until BlackBerry Dynamics authorization processing is complete.

PUSH CHANNEL NETWORK

The Push Connection is a link between the application and the BlackBerry Dynamics proxy infrastructure Network Operation Center (NOC). The Push Channel is a link between the application and its application server (App Server). There can be more than one Push Channel; the application can receive push communications from more than one App Server. Push Channels are mediated by the NOC, and sometimes other proxy infrastructure elements.

This is shown in the following diagram.

See Also

Reference