Package com.iizix.comm
Interface GCloseCodes
- All Known Implementing Classes:
SessionTransMgr
public interface GCloseCodes
User close codes for WebSockets used between IIZI Server and Client.- Author:
- Christopher Mindus
Field Summary
Fields Modifier and Type Field Description static int
CC_APPMSG
Close code for application message, i.e.static int
CC_DISPOSED
Close code indicating the session to reconnect to has been disposed of.static int
CC_HISTORY_ERROR
Close code indicating a problem with transaction history for reconnecting sessions.static int
CC_OCCUPIED
Close code used to indicate that the reconnecting session is occupied by an existing session.static int
CC_PAUSE
Code code indicating either party wishes to enter pause, i.e.static int
CC_USERINFO
Close code for user information.
Method Summary
Static Methods Modifier and Type Method Description static java.lang.String
getCloseCodeDescription(int closeCode)
Method to get a descriptive English text for a close code, including the standard close codes for WebSocket.
Field Detail
CC_PAUSE
static final int CC_PAUSE
Code code indicating either party wishes to enter pause, i.e. close communication and later reconnect to the session on hold.- See Also:
- Constant Field Values
CC_DISPOSED
static final int CC_DISPOSED
Close code indicating the session to reconnect to has been disposed of.- See Also:
- Constant Field Values
CC_OCCUPIED
static final int CC_OCCUPIED
Close code used to indicate that the reconnecting session is occupied by an existing session.- See Also:
- Constant Field Values
CC_HISTORY_ERROR
static final int CC_HISTORY_ERROR
Close code indicating a problem with transaction history for reconnecting sessions.- See Also:
- Constant Field Values
CC_APPMSG
static final int CC_APPMSG
Close code for application message, i.e. why an app cannot start.- See Also:
- Constant Field Values
CC_USERINFO
static final int CC_USERINFO
Close code for user information.- See Also:
- Constant Field Values