Properties

Properties define aspects of an Open Server application’s behavior. Open Server properties fall into three categories:

Context and server properties pertain to the Open Server application as a whole. They govern server-wide behavior and hold true for all client-server connections.

Thread properties pertain to client and service threads. Most are only able to be retrieved, not set. An application can override certain server-wide attributes on a per-connection basis by setting certain thread properties.

A programmer can tailor an Open Server application’s functionality by setting properties. In addition, an application can retrieve certain properties when it needs information.

You use cs_config, srv_props, and srv_thread_props, to set and retrieve context, server, and thread properties, respectively.

See “Context properties”, “Server properties” and “Thread properties” for more information on each type of property.

See the Open Client and Open Server Common Libraries Reference Manual section on cs_config, and the srv_props and srv_thread_props reference pages in this manual, for more information on setting and retrieving properties.