public int getMaxConnections() throws GuacamoleException {

        // Pull default from environment if connection limit is unset
        Integer value = getModel().getMaxConnections();
        if (value == null)
            return environment.getDefaultMaxConnections();

        // Otherwise use defined value
        return value;

    }
public int getMaxConnections ( ) throws GuacamoleException { Integer value = getModel ( ) . getMaxConnections ( ) ; if ( value == null ) return environment . getDefaultMaxConnections ( ) ; return value ; }
Returns the maximum number of connections that should be allowed to this
connection overall. If no limit applies, zero is returned.

@return
The maximum number of connections that should be allowed to this
connection overall, or zero if no limit applies.

@throws GuacamoleException
If an error occurs while parsing the concurrency limit properties
specified within guacamole.properties.