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 ; }
Returns the maximum number of connections that should be allowed to this connection overall . If no limit applies zero is returned .