mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-10 07:01:21 +00:00
GUAC-1100: Add getActiveConnections() function to Connectable.
This commit is contained in:
@@ -81,13 +81,13 @@ angular.module('rest').factory('Connection', [function defineConnection() {
|
||||
this.parameters = template.parameters;
|
||||
|
||||
/**
|
||||
* The count of currently active users for this connection. This field
|
||||
* will be returned from the REST API during a get operation,
|
||||
* but may not be set when doing an update or create operation.
|
||||
* The count of currently active connections using this connection.
|
||||
* This field will be returned from the REST API during a get
|
||||
* operation, but manually setting this field will have no effect.
|
||||
*
|
||||
* @type Number
|
||||
*/
|
||||
this.activeUsers = template.activeUsers;
|
||||
this.activeConnections = template.activeConnections;
|
||||
|
||||
};
|
||||
|
||||
|
@@ -91,6 +91,15 @@ angular.module('rest').factory('ConnectionGroup', [function defineConnectionGrou
|
||||
*/
|
||||
this.childConnectionGroups = template.childConnectionGroups;
|
||||
|
||||
/**
|
||||
* The count of currently active connections using this connection
|
||||
* group. This field will be returned from the REST API during a get
|
||||
* operation, but manually setting this field will have no effect.
|
||||
*
|
||||
* @type Number
|
||||
*/
|
||||
this.activeConnections = template.activeConnections;
|
||||
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user