SHOW Signed

net.rim.blackberry.api.mail
Class Transport

java.lang.Object
  |
  +--net.rim.blackberry.api.mail.Service
        |
        +--net.rim.blackberry.api.mail.Transport

public abstract class Transport
extends Service

Represents an e-mail transport protocol. You retrieve a Transport instance by invoking Session.getTransport().

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.


Method Summary
 Category: Signed static void more(BodyPart bp, boolean reqAll)
          Requests more data from the server for a BodyPart on which more is available.
 Category: Signed static void send(Message msg)
          Sends a message.
 
Methods inherited from class net.rim.blackberry.api.mail.Service
getServiceConfiguration, isConnected, setConnected, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

send

public static void send(Message msg)
                 throws MessagingException
Sends a message.

Parameters:
msg - A Message object to send.
Throws:
SendFailedException - Thrown if the message cannot be sent to one or more of the recipients.
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.

more

public static void more(BodyPart bp,
                        boolean reqAll)
                 throws MessagingException
Requests more data from the server for a BodyPart on which more is available. Invoke BodyPart.hasMore() to determine if more data is available.

If a more request is already outstanding on the BodyPart instance, this method takes no action. Invoke BodyPart.moreRequestSent() to determine if a request has already been sent for more data.

Parameters:
bp - The body part for which to request more data.
reqAll - TRUE to request all the data available or FALSE to request up to MORE_REQUEST_SIZE bytes.

Throws:
SendFailedException - Thrown if the request could not be sent.
MessagingException - if the bodypart does not belong to any Message object, or if the provided bodypart does not support the more operation
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.


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.