retrieves the default port that a server will try to use in the abscence of an explicitly specified one , given the specified value for whether or not to use secure sockets . concode_field_sep PlaceHolder placeHolder concode_field_sep void translateDefaultNoSystemExitProperty concode_elem_sep String[] listLocalInetAddressNames concode_elem_sep void translateDefaultDatabaseProperty concode_elem_sep void translateAddressProperty concode_elem_sep HsqlProperties getPropertiesFromFile concode_elem_sep HsqlProperties newDefaultProperties
int function ( int arg0 , boolean arg1 ) { switch ( arg0 ) { case SC_PROTOCOL_HSQL : { return arg1 ? SC_DEFAULT_HSQLS_SERVER_PORT : SC_DEFAULT_HSQL_SERVER_PORT ; } case SC_PROTOCOL_HTTP : { return arg1 ? SC_DEFAULT_HTTPS_SERVER_PORT : SC_DEFAULT_HTTP_SERVER_PORT ; } default : { return - 1 ; } } }