mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
GUACAMOLE-208: Define and document new status codes.
This commit is contained in:
@@ -140,6 +140,45 @@ Guacamole.Status.Code = {
|
|||||||
*/
|
*/
|
||||||
"RESOURCE_CLOSED": 0x0206,
|
"RESOURCE_CLOSED": 0x0206,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation could not be performed because the upstream server does
|
||||||
|
* not appear to exist.
|
||||||
|
*
|
||||||
|
* @type {Number}
|
||||||
|
*/
|
||||||
|
"UPSTREAM_NOT_FOUND": 0x0207,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation could not be performed because the upstream server is not
|
||||||
|
* available to service the request.
|
||||||
|
*
|
||||||
|
* @type {Number}
|
||||||
|
*/
|
||||||
|
"UPSTREAM_UNAVAILABLE": 0x0208,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The session within the upstream server has ended because it conflicted
|
||||||
|
* with another session.
|
||||||
|
*
|
||||||
|
* @type {Number}
|
||||||
|
*/
|
||||||
|
"SESSION_CONFLICT": 0x0209,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The session within the upstream server has ended because it appeared to
|
||||||
|
* be inactive.
|
||||||
|
*
|
||||||
|
* @type {Number}
|
||||||
|
*/
|
||||||
|
"SESSION_TIMEOUT": 0x020A,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The session within the upstream server has been forcibly terminated.
|
||||||
|
*
|
||||||
|
* @type {Number}
|
||||||
|
*/
|
||||||
|
"SESSION_CLOSED": 0x020B,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The operation could not be performed because bad parameters were given.
|
* The operation could not be performed because bad parameters were given.
|
||||||
*
|
*
|
||||||
|
@@ -71,6 +71,35 @@ public enum GuacamoleStatus {
|
|||||||
*/
|
*/
|
||||||
RESOURCE_CONFLICT(409, 1008, 0x0205),
|
RESOURCE_CONFLICT(409, 1008, 0x0205),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation could not be performed because the upstream server does
|
||||||
|
* not appear to exist.
|
||||||
|
*/
|
||||||
|
UPSTREAM_NOT_FOUND(502, 1011, 0x0207),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation could not be performed because the upstream server is not
|
||||||
|
* available to service the request.
|
||||||
|
*/
|
||||||
|
UPSTREAM_UNAVAILABLE(502, 1011, 0x0208),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The session within the upstream server has ended because it conflicted
|
||||||
|
* with another session.
|
||||||
|
*/
|
||||||
|
SESSION_CONFLICT(409, 1008, 0x0209),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The session within the upstream server has ended because it appeared to
|
||||||
|
* be inactive.
|
||||||
|
*/
|
||||||
|
SESSION_TIMEOUT(408, 1002, 0x020A),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The session within the upstream server has been forcibly terminated.
|
||||||
|
*/
|
||||||
|
SESSION_CLOSED(404, 1002, 0x020B),
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The operation could not be performed because bad parameters were given.
|
* The operation could not be performed because bad parameters were given.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user