Package com.zeroc.IceGrid
Class AdapterDescriptor
java.lang.Object
com.zeroc.IceGrid.AdapterDescriptor
- All Implemented Interfaces:
Serializable
,Cloneable
An Ice object adapter descriptor.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe allocatable object descriptors associated with this object adapter.The description of this object adapter.The object adapter id.The object adapter name.The well-known object descriptors associated with this object adapter.The adapter priority.boolean
Flag to specify if the object adapter will register a process object.The replica id of this adapter.boolean
If true the lifetime of this object adapter is the same of the server lifetime. -
Constructor Summary
ConstructorsConstructorDescriptionAdapterDescriptor
(String name, String description, String id, String replicaGroupId, String priority, boolean registerProcess, boolean serverLifetime, List<ObjectDescriptor> objects, List<ObjectDescriptor> allocatables) -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
int
hashCode()
static AdapterDescriptor
ice_read
(InputStream istr) static Optional<AdapterDescriptor>
ice_read
(InputStream istr, int tag) void
ice_readMembers
(InputStream istr) static void
ice_write
(OutputStream ostr, int tag, AdapterDescriptor v) static void
ice_write
(OutputStream ostr, int tag, Optional<AdapterDescriptor> v) static void
ice_write
(OutputStream ostr, AdapterDescriptor v) void
ice_writeMembers
(OutputStream ostr)
-
Field Details
-
name
The object adapter name. -
description
The description of this object adapter. -
id
The object adapter id. -
replicaGroupId
The replica id of this adapter. -
priority
The adapter priority. This is eventually used when the adapter is member of a replica group to sort the adapter endpoints by priority. -
registerProcess
public boolean registerProcessFlag to specify if the object adapter will register a process object. -
serverLifetime
public boolean serverLifetimeIf true the lifetime of this object adapter is the same of the server lifetime. This information is used by the IceGrid node to figure out the server state: the server is active only if all its "server lifetime" adapters are active. -
objects
The well-known object descriptors associated with this object adapter. -
allocatables
The allocatable object descriptors associated with this object adapter.
-
-
Constructor Details
-
AdapterDescriptor
public AdapterDescriptor() -
AdapterDescriptor
public AdapterDescriptor(String name, String description, String id, String replicaGroupId, String priority, boolean registerProcess, boolean serverLifetime, List<ObjectDescriptor> objects, List<ObjectDescriptor> allocatables)
-
-
Method Details