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 SummaryFieldsModifier and TypeFieldDescription- static final intClose code for application message, i.e.- static final intClose code indicating the session to reconnect to has been disposed of.- static final intClose code indicating a problem with transaction history for reconnecting sessions.- static final intClose code used to indicate that the reconnecting session is occupied by an existing session.- static final intCode code indicating either party wishes to enter pause, i.e.- static final intClose code for user information.
- Method SummaryStatic MethodsModifier and TypeMethodDescription- static String- getCloseCodeDescription- (int closeCode) Method to get a descriptive English text for a close code, including the standard close codes for WebSocket.
- Field Details- CC_PAUSEstatic final int CC_PAUSECode code indicating either party wishes to enter pause, i.e. close communication and later reconnect to the session on hold.- See Also:
 
- CC_DISPOSEDstatic final int CC_DISPOSEDClose code indicating the session to reconnect to has been disposed of.- See Also:
 
- CC_OCCUPIEDstatic final int CC_OCCUPIEDClose code used to indicate that the reconnecting session is occupied by an existing session.- See Also:
 
- CC_HISTORY_ERRORstatic final int CC_HISTORY_ERRORClose code indicating a problem with transaction history for reconnecting sessions.- See Also:
 
- CC_APPMSGstatic final int CC_APPMSGClose code for application message, i.e. why an app cannot start.- See Also:
 
- CC_USERINFOstatic final int CC_USERINFOClose code for user information.- See Also:
 
 
- Method Details- getCloseCodeDescriptionMethod to get a descriptive English text for a close code, including the standard close codes for WebSocket.- Parameters:
- closeCode- The close code.
- Returns:
- A descriptive text of the close code.