SHOW Signed

net.rim.blackberry.api.mail
Class Service

java.lang.Object
  |
  +--net.rim.blackberry.api.mail.Service
Direct Known Subclasses:
Store, Transport

public abstract class Service
extends Object

Represents an email service on the handheld. The default service is implicitly connected.

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.

See Also:
Transport, Store, ServiceConfiguration

Method Summary
 Category: Signed  ServiceConfiguration getServiceConfiguration()
          Retrieves the ServiceConfiguration that describes the current email service.
 Category: Signed  boolean isConnected()
          Determines whether this service is connected.
 Category: Signed  void setConnected(boolean connected)
          Connects or disconnects a service.
 Category: Signed  String toString()
          Retrieves a human-readable string for this service.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

isConnected

public boolean isConnected()
Determines whether this service is connected.

Returns:
True if the service is connected, otherwise false.
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.

setConnected

public void setConnected(boolean connected)
Connects or disconnects a service.

Parameters:
connected - True to connect the service, or false to disconnect the service.
Since:
JDE 3.6
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.

toString

public String toString()
Retrieves a human-readable string for this service.

Overrides:
toString in class Object
Returns:
A human-readable string that describes this service.
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.

getServiceConfiguration

public ServiceConfiguration getServiceConfiguration()
Retrieves the ServiceConfiguration that describes the current email service.

Returns:
A ServieConfiguration object.
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-2002 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.