Table of Contents Previous Next
Logo
Properties : C.17 IcePatch2 Properties
Copyright © 2003-2007 ZeroC, Inc.

C.17 IcePatch2 Properties

IcePatch2.name

Synopsis

IcePatch2.name=value

Description

IcePatch2 uses the adapter name IcePatch2 for the server. Therefore, all the adapter properties detailed in Section C.4 can be used to configure this adapter.
Note that the property IcePatch2.Endpoints must be set for IcePatch2 clients, so they can locate the IcePatch2 server.

IcePatch2.Admin.name

Synopsis

IcePatch2.Admin.name=value

Description

IcePatch2 uses the adapter name IcePatch2.Admin for an optional object adapter that implements the IcePatch2::Admin interface. Therefore, all the adapter properties detailed in Section C.4 can be used to configure this adapter.
The IcePatch2::Admin interface has a shutdown operation that can be used to remotely shut down the server. If the property IcePatch2.Admin.Endpoints is undefined, this adapter is disabled. The endpoints specified by this property should be secured against access from potentially hostile clients.

IcePatch2.ChunkSize

Synopsis

IcePatch2.ChunkSize=kilobytes

Description

The IcePatch2 client uses this property to determine how many kilobytes are retrieved with each call to getFileCompressed.
The default value is 100.

IcePatch2.Directory

Synopsis

IcePatch2.Directory=dir

Description

The IcePatch2 server uses this property to determine the data directory if no data directory is specified on the command line.
This property is also read by the IcePatch2::Patcher utility class to determine the data directory. The property must be set before the class is instantiated.

IcePatch2.InstanceName

Synopsis

IcePatch2.InstanceName=name

Description

Specifies the identity category for well-known IcePatch2 objects. If defined, the identity of the IcePatch2::Admin interface becomes name/admin and the identity of the IcePatch2::FileServer interface becomes name/server.
If not defined, the default value is IcePatch2.

IcePatch2.Remove

Synopsis

IcePatch2.Remove=num

Description

This property determines whether the IcePatch2 client deletes files that exist locally, but not on the server. A negative or zero value prevents removal of files. A value of 1 enables removal and causes the client to halt with an error if removal of a file fails. A value of 2 or greater also enables removal, but causes the client to silently ignore errors during removal.
This property is also read by the IcePatch2::Patcher utility class. The property must be set before the class is instantiated.
The default value is 1.

IcePatch2.Thorough

Synopsis

IcePatch2.Thorough=num

Description

This property determines whether IcePatch2::Patcher utility class recomputes checksums. Any value greater than zero is interpreted as true. The property must be set before the class is instantiated. The default value is 0 (false).
Table of Contents Previous Next
Logo