Ice.Override.*

On this page:

Ice.Override.CloseTimeout

Synopsis

Ice.Override.CloseTimeout=num

Description

This property overrides timeout settings used to close connectionsnum is the timeout value in milliseconds, or -1 for no timeout. If this property is not defined, then Ice.Override.Timeout is used. If Ice.Override.Timeout is not defined, the endpoint timeout is used.

Ice.Override.Compress

Synopsis

Ice.Override.Compress=num

Description

If set, this property overrides compression settings in all proxies. If num is set to a value larger than zero, compression is enabled. If zero, compression is disabled.

The setting of this property is ignored in the server role.

Note that, if a client sets Ice.Override.Compress=1 and sends a compressed request to a server that does not support compression, the server will close the connection and the client will receive ConnectionLostException.

If a client does not support compression and Ice.Override.Compress=1, the setting is ignored and a warning message is printed on stderr.

Regardless of the setting of this property, requests smaller than 100 bytes are never compressed.

Ice.Override.ConnectTimeout

Synopsis

Ice.Override.ConnectTimeout=num

Description

This property overrides timeout settings used to establish connections. num is the timeout value in milliseconds, or -1 for no timeout. If this property is not defined, then Ice.Override.Timeout is used. If Ice.Override.Timeout is not defined, the endpoint timeout is used.

Ice.Override.Secure

Synopsis

Ice.Override.Secure=num

Description

If set to a value larger than zero, this property overrides security settings in all proxies by allowing only secure endpoints. Defining this property is equivalent to invoking the ice_secure(true) proxy method on every proxy. If you wish to give priority to secure endpoints without precluding the use of non-secure endpoints, use Ice.Default.PreferSecure. Refer to Configuring Secure Proxies for more information on secure proxies.

Ice.Override.Timeout

Synopsis

Ice.Override.Timeout=num

Description

If set, this property overrides timeout settings in all endpoints. num is the timeout value in milliseconds, or -1 for no timeout.