Click or drag to resize
IGDPushChannelListenerOnChannelOpen Method
Channel opened callback.

Namespace:  GD
Assembly:  GD (in GD.dll) Version: 255.255.255.255
Syntax
void OnChannelOpen(
	string token
)

Parameters

token
Type: SystemString
String containing the Push Channel token issued by the NOC.
Remarks

This callback will be invoked when the associated Push Channel is opened in the BlackBerry Dynamics proxy infrastructure. See Disconnect. At this point, a Push Channel token will have been issued by the BlackBerry Dynamics proxy infrastructure Network Operation Center (NOC).

The function that is invoked must initiate sending of the token to the application server, out of band. The application server will then be able to use the token to address Push Channel notifications back to the application on the device, via the NOC.

See also:

Channel Server API

Invocation of this callback also notifies the application on the device that any of the following callbacks could now be invoked: OnChannelMessage(String), OnChannelPingFail(Int32), OnChannelClose(String).

See Also