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
adaptersAdapterDescriptor[]propertySetPropertySetDescriptordbEnvsDbEnvDescriptor[]logsstring[]descriptionstringidstringexestringiceVersionstringpwdstringoptionsstring[]envsstring[]activationstringactivationTimeoutstringdeactivationTimeoutstringapplicationDistribbooldistribDistributionDescriptorallocatablebooluserstring
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
adaptersAdapterDescriptor[]propertySetPropertySetDescriptordbEnvsDbEnvDescriptor[]logsstring[]optionsstring[]envsstring[]distribDistributionDescriptor
Fields
activation
The server activation mode. Possible values are "on-demand" and "manual".
public string activation
Field Value
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
allocatable
Specifies if the server is allocatable.
public bool allocatable
Field Value
applicationDistrib
Specifies if the server depends on the application distribution.
[Obsolete]
public bool applicationDistrib
Field Value
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
distrib
The distribution descriptor.
[Obsolete]
public DistributionDescriptor distrib
Field Value
envs
The server environment variables.
public string[] envs
Field Value
- string[]
exe
The path of the server executable.
public string exe
Field Value
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
id
The server ID.
public string id
Field Value
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
user
The user account used to run the server.
public string user
Field Value
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.