SHOW Signed

net.rim.device.api.servicebook
Class ServiceRouting

java.lang.Object
  |
  +--net.rim.device.api.servicebook.ServiceRouting

public final class ServiceRouting
extends Object

Provides access to the routing status of the BlackBerry data service(s).

Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

Since:
JDE 4.1.0

Method Summary
 Category: Signed  void addListener(ServiceRoutingListener listener)
          Add a listener for BlackBerry data service routing changes.
 Category: Signed static ServiceRouting getInstance()
          Get the ServiceRouting object.
 Category: Signed  boolean isSerialBypassActive()
          Determines if the device is currently hosting serial bypass activity.
 Category: Signed  boolean isSerialBypassActive(String service)
          Determines if the device is currently hosting serial bypass activity.
 Category: Signed  void removeListener(ServiceRoutingListener listener)
          Remove a listener for BlackBerry data service routing changes.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ServiceRouting getInstance()
Get the ServiceRouting object.

Returns:
The ServiceRouting object.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

isSerialBypassActive

public boolean isSerialBypassActive()
Determines if the device is currently hosting serial bypass activity.
Returns:
true if a serial bypass connection is currently active
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

isSerialBypassActive

public boolean isSerialBypassActive(String service)
Determines if the device is currently hosting serial bypass activity.
Parameters:
service - The relevant service, a UID of a ServiceRecord
Returns:
true if a serial bypass connection is currently active
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

addListener

public void addListener(ServiceRoutingListener listener)
Add a listener for BlackBerry data service routing changes.

Parameters:
listener - Listener for BlackBerry data service routing changes.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

removeListener

public void removeListener(ServiceRoutingListener listener)
Remove a listener for BlackBerry data service routing changes.

Parameters:
listener - Listener for BlackBerry data service routing changes.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.


Copyright 1999-2004 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.