Package 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) server switch to other application (corresponds to server selecting another application via Content-Type header field) The object implementingSCP81ConnectionStatusinterface is a Temporary Entry Point Object.
-
-
Field Summary
Fields Modifier and Type Field Description static shortCOMMUNICATION_ERRORThis constant is used if connection was closed due to a communication error.static shortCONNECTION_CLOSEDThis constant is used if connection was closed due an invocation of SCP81Connection.close().static shortCONNECTION_ESTABLISHEDThis constant is used if the connection was successfully opened..static shortCONNECTION_SETUP_FAILEDThis constant is used if the connection could not been opened.static shortSERVER_SWITCHThis constant is used if connection server switched to another application via Content-Type header field
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description shortgetDetails()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
-
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:
- Constant Field Values
-
-