IceGrid.ServerDescriptor

class IceGrid.ServerDescriptor(adapters: list[AdapterDescriptor] = <factory>, propertySet: PropertySetDescriptor = <factory>, dbEnvs: list[DbEnvDescriptor] = <factory>, logs: list[str] = <factory>, description: str = '', id: str = '', exe: str = '', iceVersion: str = '', pwd: str = '', options: list[str] = <factory>, envs: list[str] = <factory>, activation: str = '', activationTimeout: str = '', deactivationTimeout: str = '', applicationDistrib: bool = False, distrib: DistributionDescriptor = <factory>, allocatable: bool = False, user: str = '')

Bases: CommunicatorDescriptor

Describes an Ice server.

Parameters:
id

The server ID.

Type:

str

exe

The path of the server executable.

Type:

str

iceVersion

The Ice version used by this server. This is only required if backward compatibility with servers using old Ice versions is needed (otherwise the registry assumes the server is using the same Ice version as the registry itself). For example "3.7.5".

Type:

str

pwd

The path to the server working directory.

Type:

str

options

The command line options to pass to the server executable.

Type:

list[str]

envs

The server environment variables.

Type:

list[str]

activation

The server activation mode. Possible values are "on-demand" and "manual".

Type:

str

activationTimeout

The activation timeout. It’s an integer (in string format) that represents the number of seconds to wait for activation.

Type:

str

deactivationTimeout

The deactivation timeout. It’s an integer (in string format) that represents the number of seconds to wait for deactivation.

Type:

str

applicationDistrib

Specifies if the server depends on the application distribution.

Type:

bool

distrib

The distribution descriptor.

Type:

DistributionDescriptor

allocatable

Specifies if the server is allocatable.

Type:

bool

user

The user account used to run the server.

Type:

str

Notes

The Slice compiler generated this dataclass from Slice class ::IceGrid::ServerDescriptor.

static ice_staticId() str

Obtain the type ID of this Slice class or interface.

Returns:

The type ID.

Return type:

str