uicc.connection
Interface SCP81ConnectionStatus

All Superinterfaces:
Event

public interface SCP81ConnectionStatus
extends Event

This interface defines event constants that are used for notifications of state changes of connections represented by SCP81Connection: 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) The object implementing SCP81ConnectionStatus interface is a Temporary Entry Point Object.


Field Summary
static short COMMUNICATION_ERROR
          This constant is used if connection was closed due to a communication error.
static short CONNECTION_CLOSED
          This constant is used if connection was closed due an invocation of SCP81Connection.close().
static short CONNECTION_ESTABLISHED
          This constant is used if the connection was successfully opened..
static short CONNECTION_SETUP_FAILED
          This constant is used if the connection could not been opened.
 
Method Summary
 short getDetails()
          Used to retrieve detailed information about the state change..
 
Methods inherited from interface uicc.connection.Event
getObservable
 

Field Detail

CONNECTION_ESTABLISHED

static final short CONNECTION_ESTABLISHED
This constant is used if the connection was successfully opened..

See Also:
Constant Field Values

CONNECTION_SETUP_FAILED

static final short CONNECTION_SETUP_FAILED
This constant is used if the connection could not been opened.

See Also:
Constant Field Values

COMMUNICATION_ERROR

static final short COMMUNICATION_ERROR
This constant is used if connection was closed due to a communication error.

See Also:
Constant Field Values

CONNECTION_CLOSED

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

See Also:
Constant Field Values
Method Detail

getDetails

short getDetails()
Used to retrieve detailed information about the state change..

Returns:
the reason for closing this connection.