Package | Description |
---|---|
oracle.wsc.android.session |
Session API.
|
Modifier and Type | Field and Description |
---|---|
static SessionState |
SessionState.CLOSED
Session has terminated normally.
|
static SessionState |
SessionState.CONNECTED
Session has connected with the server.
|
static SessionState |
SessionState.FAILED
Session met with some exception and has closed abnormally.
|
static SessionState |
SessionState.HIBERNATED
Session is in hibernate mode.
|
static SessionState |
SessionState.NONE
Initial session state.
|
static SessionState |
SessionState.RECONNECTING
Session's connection with the server is broken.
|
static SessionState |
SessionState.RELOADING
Client is reloading the session data from a session JSON String.
|
static SessionState |
SessionState.SUSPENDED
Session has been closed abnormally by javax.websocket.CloseReason.CloseCodes.GOING_AWAY
for suspension purposes.
|
Modifier and Type | Method and Description |
---|---|
SessionState |
WSCSession.getSessionState()
Gets the session state.
|
static SessionState |
SessionState.valueOf(String name) |
static SessionState[] |
SessionState.values() |
Modifier and Type | Method and Description |
---|---|
abstract void |
WSCSession.Observer.stateChanged(SessionState sessionState)
Session state changes.
|