Package com.zeroc.IceGrid
Class ServerDescriptor
java.lang.Object
com.zeroc.Ice.Value
com.zeroc.IceGrid.CommunicatorDescriptor
com.zeroc.IceGrid.ServerDescriptor
- All Implemented Interfaces:
Serializable
,Cloneable
- Direct Known Subclasses:
IceBoxDescriptor
An Ice server descriptor.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe server activation mode (possible values are "on-demand" or "manual").The activation timeout (an integer value representing the number of seconds to wait for activation).boolean
Specifies if the server is allocatable.boolean
Specifies if the server depends on the application distribution.The deactivation timeout (an integer value representing the number of seconds to wait for deactivation).The distribution descriptor.The server environment variables.The path of the server executable.The Ice version used by this server.The server id.The command line options to pass to the server executable.The path to the server working directory.The user account used to run the server.Fields inherited from class com.zeroc.IceGrid.CommunicatorDescriptor
adapters, dbEnvs, description, logs, propertySet
-
Constructor Summary
ConstructorsConstructorDescriptionServerDescriptor
(List<AdapterDescriptor> adapters, PropertySetDescriptor propertySet, List<DbEnvDescriptor> dbEnvs, String[] logs, String description, String id, String exe, String iceVersion, String pwd, List<String> options, List<String> envs, String activation, String activationTimeout, String deactivationTimeout, boolean applicationDistrib, DistributionDescriptor distrib, boolean allocatable, String user) -
Method Summary
Methods inherited from class com.zeroc.Ice.Value
ice_getSlicedData, ice_postUnmarshal, ice_preMarshal
-
Field Details
-
id
The server id. -
exe
The path of the server executable. -
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 will assume the server is using the same Ice version). For example "3.1.1", "3.2", "3.3.0". -
pwd
The path to the server working directory. -
options
The command line options to pass to the server executable. -
envs
The server environment variables. -
activation
The server activation mode (possible values are "on-demand" or "manual"). -
activationTimeout
The activation timeout (an integer value representing the number of seconds to wait for activation). -
deactivationTimeout
The deactivation timeout (an integer value representing the number of seconds to wait for deactivation). -
applicationDistrib
public boolean applicationDistribSpecifies if the server depends on the application distribution. -
distrib
The distribution descriptor. -
allocatable
public boolean allocatableSpecifies if the server is allocatable. -
user
The user account used to run the server.
-
-
Constructor Details
-
ServerDescriptor
public ServerDescriptor() -
ServerDescriptor
public ServerDescriptor(List<AdapterDescriptor> adapters, PropertySetDescriptor propertySet, List<DbEnvDescriptor> dbEnvs, String[] logs, String description, String id, String exe, String iceVersion, String pwd, List<String> options, List<String> envs, String activation, String activationTimeout, String deactivationTimeout, boolean applicationDistrib, DistributionDescriptor distrib, boolean allocatable, String user)
-
-
Method Details
-
clone
Description copied from class:Value
Returns a copy of the object. The cloned object contains field-for-field copies of the state.- Overrides:
clone
in classCommunicatorDescriptor
- Returns:
- The cloned object.
-
ice_staticId
-
ice_id
Description copied from class:Value
Returns the Slice type ID of the most-derived interface supported by this object.- Overrides:
ice_id
in classCommunicatorDescriptor
- Returns:
- The return value is always
::Ice::Object
.
-