Interface SCP8XConnectionStatus

All Superinterfaces:
Event

public interface SCP8XConnectionStatus extends Event
This interface defines event constants that are used for notifications of state changes of connections represented by SCP8XConnection: connection established (corresponds to successful open()) connection setup failed (corresponds to unsuccessful open()) connection closed (corresponds to successful close()) communication error (corresponds to unexpected communication breakdown) server switch to other application (corresponds to server selecting another application via Content-Type header field) The object implementing SCP8XConnectionStatus interface is a Temporary Entry Point Object.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final short
    This constant is used if connection was closed due to a communication error.
    static final short
    This constant is used if connection was closed due an invocation of SCP81Connection.close().
    static final short
    This constant is used if the connection was successfully opened..
    static final short
    This constant is used if the connection could not been opened.
    static final short
    This constant is used if connection server switched to another application via Content-Type header field
  • Method Summary

    Modifier and Type
    Method
    Description
    short
    Used to retrieve detailed information about the state change..

    Methods inherited from interface uicc.connection.Event

    getObservable
  • Field Details

    • CONNECTION_ESTABLISHED

      static final short CONNECTION_ESTABLISHED
      This constant is used if the connection was successfully opened..
      See Also:
    • CONNECTION_SETUP_FAILED

      static final short CONNECTION_SETUP_FAILED
      This constant is used if the connection could not been opened.
      See Also:
    • COMMUNICATION_ERROR

      static final short COMMUNICATION_ERROR
      This constant is used if connection was closed due to a communication error.
      See Also:
    • CONNECTION_CLOSED

      static final short CONNECTION_CLOSED
      This constant is used if connection was closed due an invocation of SCP81Connection.close().
      See Also:
    • SERVER_SWITCH

      static final short SERVER_SWITCH
      This constant is used if connection server switched to another application via Content-Type header field
      See Also:
  • Method Details

    • getDetails

      short getDetails()
      Used to retrieve detailed information about the state change..
      Returns:
      the reason for closing this connection.