company logo

Client :: setServerOption - Set Server Option

Options or system variables for a client application can be set on the server side. This is necessary for controlling functions running on the server side.

Server options are valid on the server only for the connected client, i.e. each client has its own server options, which are not shared with other clients. Server options can be retrieved calling GetServerOption().

Implementation details

Client  :: setServerOption ( odaba::String &sOptionName, odaba::String &sOptionValue )
  • 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.

  • sOptionValue - Option value

    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.