company logo

Client :: serverOption - Get value for server option

The function returns the value for an option set in the server environment (server options). Server options are either defined in the server configuration or ini-file or set by the client calling setServerOption(). Each client has its own server options, which are not shared with other clients.

Return value:  Option value ( odaba::String & )

The option value contains the value set (or to be set) for an option.

In order to pass no option value, an empty string ( String() ) has to be passed.

Implementation details

odaba::String Client  :: serverOption ( odaba::String &sOptionName )
  • sOptionName - Option name

    The name refers to an option set on the server or client side. Option names may be defined simply as an identifier (main option) or as an option hierarchy path when the option is defined on a lower level of the option hierarchy.