mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-11-04 02:53:22 +00:00 
			
		
		
		
	GUACAMOLE-102: Split out load balancing into a separate section/form.
This commit is contained in:
		@@ -127,7 +127,13 @@ public class ModeledConnection extends ModeledChildDirectoryObject<ConnectionMod
 | 
			
		||||
     */
 | 
			
		||||
    public static final Form CONCURRENCY_LIMITS = new Form("concurrency", Arrays.<Field>asList(
 | 
			
		||||
        new NumericField(MAX_CONNECTIONS_NAME),
 | 
			
		||||
        new NumericField(MAX_CONNECTIONS_PER_USER_NAME),
 | 
			
		||||
        new NumericField(MAX_CONNECTIONS_PER_USER_NAME)
 | 
			
		||||
    ));
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * All attributes related to to load balancing in a logical form.
 | 
			
		||||
     */
 | 
			
		||||
    public static final Form LOAD_BALANCING = new Form("load-balancing", Arrays.<Field>asList(
 | 
			
		||||
        new NumericField(CONNECTION_WEIGHT)
 | 
			
		||||
    ));
 | 
			
		||||
 | 
			
		||||
@@ -137,6 +143,7 @@ public class ModeledConnection extends ModeledChildDirectoryObject<ConnectionMod
 | 
			
		||||
     */
 | 
			
		||||
    public static final Collection<Form> ATTRIBUTES = Collections.unmodifiableCollection(Arrays.asList(
 | 
			
		||||
        CONCURRENCY_LIMITS,
 | 
			
		||||
        LOAD_BALANCING,
 | 
			
		||||
        GUACD_PARAMETERS
 | 
			
		||||
    ));
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -20,7 +20,7 @@
 | 
			
		||||
        "FIELD_HEADER_MAX_CONNECTIONS"          : "Maximum number of connections:",
 | 
			
		||||
        "FIELD_HEADER_MAX_CONNECTIONS_PER_USER" : "Maximum number of connections per user:",
 | 
			
		||||
 | 
			
		||||
        "FIELD_HEADER_WEIGHT"                   : "Connection weight for load balancing:",
 | 
			
		||||
        "FIELD_HEADER_WEIGHT"                   : "Connection weight:",
 | 
			
		||||
 | 
			
		||||
        "FIELD_HEADER_GUACD_HOSTNAME"   : "Hostname:",
 | 
			
		||||
        "FIELD_HEADER_GUACD_ENCRYPTION" : "Encryption:",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user