ObjectSpace :: serverOption - Server options
Server options are options, which are set on the server side. Since each client connection creates its own thread on the server side, each client connection will get its own server options, which are thread static.
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 overview
- Get server option
ObjectSpace :: serverOption ( sOptionName ) - Set server option
ObjectSpace :: serverOption ( sOptionName, sOptionValue )
Implementation details
-
Get server option
odaba::String ObjectSpace  :: serverOption ( odaba::String &sOptionName )
The function returns the value for the server option passed in 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.
to list
- sOptionName
- Option name
-
Set server option
odaba::String ObjectSpace  :: serverOption ( odaba::String &sOptionName, odaba::String &sOptionValue )
The function sets the server option value passed in sOptionValue for the option passed in sOptionName. The option value will be set on the server, but also in the client thread.
- 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.
to list
- sOptionName
- Option name