java.lang.Object
com.zeroc.Ice.Value
com.zeroc.IceGrid.CommunicatorDescriptor
com.zeroc.IceGrid.ServerDescriptor
- All Implemented Interfaces:
Serializable
,Cloneable
- Direct Known Subclasses:
IceBoxDescriptor
Describes an Ice server.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe server activation mode.The activation timeout.boolean
Specifies if the server is allocatable.boolean
Specifies if the server depends on the application distribution.The deactivation timeout.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
ConstructorsConstructorDescriptionConstructs aServerDescriptor
.ServerDescriptor
(List<AdapterDescriptor> adapters, PropertySetDescriptor propertySet, 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) Constructs aServerDescriptor
with values for all its fields. -
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 assumes the server is using the same Ice version as the registry itself). For example"3.7.5"
. -
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"
and"manual"
. -
activationTimeout
The activation timeout. It's an integer (in string format) that represents the number of seconds to wait for activation. -
deactivationTimeout
The deactivation timeout. It's an integer (in string format) that represents 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()Constructs aServerDescriptor
. -
ServerDescriptor
public ServerDescriptor(List<AdapterDescriptor> adapters, PropertySetDescriptor propertySet, 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) Constructs aServerDescriptor
with values for all its fields.- Parameters:
adapters
- The indirect object adapters.propertySet
- The property set.dbEnvs
- The database environments.logs
- The path of each log file.description
- A description of this descriptor.id
- The server ID.exe
- The path of the server executable.iceVersion
- The Ice version used by this server.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.activationTimeout
- The activation timeout.deactivationTimeout
- The deactivation timeout.applicationDistrib
- Specifies if the server depends on the application distribution.distrib
- The distribution descriptor.allocatable
- Specifies if the server is allocatable.user
- The user account used to run the server.
-
-
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
Gets the type ID of the associated Slice interface.- Returns:
- the string "::IceGrid::ServerDescriptor"
-
ice_id
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
.
-