SHOW Signed

net.rim.blackberry.api.blackberrymessenger
Interface SessionSetupListener


public interface SessionSetupListener

A listener class that receives notification of events that occur during Session requests. SessionSetupListeners are passed into the Session.sendRequest() method and will receive events relevant to that request.

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.2.1

Method Summary
 Category: Signed  void sessionRequestAccepted(Session session)
          Indicates that a Session request has been accepted by a remote user.
 Category: Signed  void sessionRequestDelivered(Session session)
          Indicates that a Session request has been delivered to the remote application.
 Category: Signed  void sessionRequestFailed(Session session, int reason)
          Indicates that a Session request has failed.
 Category: Signed  void sessionRequestRefused(Session session)
          Indicates that a Session request has been refused by the remote user.
 

Method Detail

sessionRequestAccepted

public void sessionRequestAccepted(Session session)
Indicates that a Session request has been accepted by a remote user. The Session should be open and ready to use for communication with the remote application.
Parameters:
session - The Session that was accepted.
Since:
JDE 4.2.1
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.

sessionRequestDelivered

public void sessionRequestDelivered(Session session)
Indicates that a Session request has been delivered to the remote application.
Parameters:
session - The Session whose request has been delivered.
Since:
JDE 4.2.1
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.

sessionRequestFailed

public void sessionRequestFailed(Session session,
                                 int reason)
Indicates that a Session request has failed. This could be because the remote user does not have the correct application installed.
Parameters:
session - The Session whose request has failed.
reason - The reason for the failure.
Since:
JDE 4.2.1
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.

sessionRequestRefused

public void sessionRequestRefused(Session session)
Indicates that a Session request has been refused by the remote user.
Parameters:
session - The Session whose request has been refused.
Since:
JDE 4.2.1
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-2007 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.