Table of Contents

Class ServerDescriptor

Namespace
IceGrid
Assembly
IceGrid.dll

Describes an Ice server.

[SliceTypeId("::IceGrid::ServerDescriptor")]
public class ServerDescriptor : CommunicatorDescriptor
Inheritance
ServerDescriptor
Derived
Inherited Members

Remarks

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

Constructors

ServerDescriptor(AdapterDescriptor[], PropertySetDescriptor, DbEnvDescriptor[], string[], string, string, string, string, string, string[], string[], string, string, string, bool, DistributionDescriptor, bool, string)

Initializes a new instance of the ServerDescriptor class.

public ServerDescriptor(AdapterDescriptor[] adapters, PropertySetDescriptor propertySet, DbEnvDescriptor[] dbEnvs, string[] logs, string description, string id, string exe, string iceVersion, string pwd, string[] options, string[] envs, string activation, string activationTimeout, string deactivationTimeout, bool applicationDistrib, DistributionDescriptor distrib, bool allocatable, string user)

Parameters

adapters AdapterDescriptor[]
propertySet PropertySetDescriptor
dbEnvs DbEnvDescriptor[]
logs string[]
description string
id string
exe string
iceVersion string
pwd string
options string[]
envs string[]
activation string
activationTimeout string
deactivationTimeout string
applicationDistrib bool
distrib DistributionDescriptor
allocatable bool
user string

ServerDescriptor(AdapterDescriptor[], PropertySetDescriptor, DbEnvDescriptor[], string[], string[], string[], DistributionDescriptor)

Initializes a new instance of the ServerDescriptor class.

public ServerDescriptor(AdapterDescriptor[] adapters, PropertySetDescriptor propertySet, DbEnvDescriptor[] dbEnvs, string[] logs, string[] options, string[] envs, DistributionDescriptor distrib)

Parameters

adapters AdapterDescriptor[]
propertySet PropertySetDescriptor
dbEnvs DbEnvDescriptor[]
logs string[]
options string[]
envs string[]
distrib DistributionDescriptor

Fields

activation

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

public string activation

Field Value

string

activationTimeout

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

public string activationTimeout

Field Value

string

allocatable

Specifies if the server is allocatable.

public bool allocatable

Field Value

bool

applicationDistrib

Specifies if the server depends on the application distribution.

[Obsolete]
public bool applicationDistrib

Field Value

bool

deactivationTimeout

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

public string deactivationTimeout

Field Value

string

distrib

The distribution descriptor.

[Obsolete]
public DistributionDescriptor distrib

Field Value

DistributionDescriptor

envs

The server environment variables.

public string[] envs

Field Value

string[]

exe

The path of the server executable.

public string exe

Field Value

string

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".

public string iceVersion

Field Value

string

id

The server ID.

public string id

Field Value

string

options

The command line options to pass to the server executable.

public string[] options

Field Value

string[]

pwd

The path to the server working directory.

public string pwd

Field Value

string

user

The user account used to run the server.

public string user

Field Value

string

Methods

ice_id()

Returns the Slice type ID of the most-derived class supported by this object.

public override string ice_id()

Returns

string

The Slice type ID.

ice_staticId()

Gets the type ID of the associated Slice class.

public static string ice_staticId()

Returns

string

The string ::IceGrid::ServerDescriptor.