ODPClientConnection class
Consists of the methods used for client-server connection.
Syntax
public class
ODPClientConnection
addConfigurationChangeListener(IODPConfigurationChangeListener) method
Set the listener object that is notified with change in application end-point or push end-point.
clearServerVerificationKey() method
Invoke this method before registering the new user when the device is connected to new the SAP Mobile Server.
getInstance() method
Retrieve an instance of ODPClientConnection class.
initInstance(String) method
Initialize the ODPClientConnection.
registerForNativePush(IODPPushNotificationListener) method
Register the native push listener.
registerForPayloadPush(ISDMNetListener) method
Register the payload push listener.
setODPHTTPAuthChallengeListener(IODPHTTPAuthChallengeListener) method
Register a listener for HTTP authentication challenge callback.
setODPHttpErrorListener(IODPHttpErrorListener) method
Ensure that OData BlackBerry clients are notified of HTTP errors while establishing a connection with the network edge.
setPushListener(ISDMNetListener) method
Consume push messages, the application registers a listener object.
Parent topic:
client package
Created March 27, 2013.
To comment on this topic, go to:
DocCommentXchange
.