Package uicc.connection
Interface SCP8XConnectionStatus
- All Superinterfaces:
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
FieldsModifier and TypeFieldDescriptionstatic final shortThis constant is used if connection was closed due to a communication error.static final shortThis constant is used if connection was closed due an invocation of SCP81Connection.close().static final shortThis constant is used if the connection was successfully opened..static final shortThis constant is used if the connection could not been opened.static final shortThis constant is used if connection server switched to another application via Content-Type header field -
Method Summary
Modifier and TypeMethodDescriptionshortUsed to retrieve detailed information about the state change..Methods inherited from interface uicc.connection.Event
getObservable
-
Field Details
-
CONNECTION_ESTABLISHED
static final short CONNECTION_ESTABLISHEDThis constant is used if the connection was successfully opened..- See Also:
-
CONNECTION_SETUP_FAILED
static final short CONNECTION_SETUP_FAILEDThis constant is used if the connection could not been opened.- See Also:
-
COMMUNICATION_ERROR
static final short COMMUNICATION_ERRORThis constant is used if connection was closed due to a communication error.- See Also:
-
CONNECTION_CLOSED
static final short CONNECTION_CLOSEDThis constant is used if connection was closed due an invocation of SCP81Connection.close().- See Also:
-
SERVER_SWITCH
static final short SERVER_SWITCHThis 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.
-