java.lang.Object
com.zeroc.IceGrid.ServerInstanceDescriptor
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a template instantiation that creates a server.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe template parameter values.The property set.The services property sets.The template used by this instance. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs aServerInstanceDescriptor
.ServerInstanceDescriptor
(String template, Map<String, String> parameterValues, PropertySetDescriptor propertySet, Map<String, PropertySetDescriptor> servicePropertySets) Constructs aServerInstanceDescriptor
with values for all its fields. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
int
hashCode()
static ServerInstanceDescriptor
ice_read
(InputStream istr) Unmarshals aServerInstanceDescriptor
from an input stream.static Optional<ServerInstanceDescriptor>
ice_read
(InputStream istr, int tag) Unmarshals an optionalServerInstanceDescriptor
from an input stream.void
ice_readMembers
(InputStream istr) Unmarshals and sets this object's fields from an input stream.static void
ice_write
(OutputStream ostr, int tag, ServerInstanceDescriptor v) Marshals an optionalServerInstanceDescriptor
into an output stream.static void
ice_write
(OutputStream ostr, int tag, Optional<ServerInstanceDescriptor> v) Marshals an optionalServerInstanceDescriptor
into an output stream.static void
Marshals aServerInstanceDescriptor
into an output stream.void
ice_writeMembers
(OutputStream ostr) Marshals this object's fields into an output stream.
-
Field Details
-
template
The template used by this instance. It's never empty. -
parameterValues
The template parameter values. -
propertySet
The property set. -
servicePropertySets
The services property sets. It's only valid to set these property sets when the template is an IceBox server template.
-
-
Constructor Details
-
ServerInstanceDescriptor
public ServerInstanceDescriptor()Constructs aServerInstanceDescriptor
. -
ServerInstanceDescriptor
public ServerInstanceDescriptor(String template, Map<String, String> parameterValues, PropertySetDescriptor propertySet, Map<String, PropertySetDescriptor> servicePropertySets) Constructs aServerInstanceDescriptor
with values for all its fields.- Parameters:
template
- The template used by this instance.parameterValues
- The template parameter values.propertySet
- The property set.servicePropertySets
- The services property sets.
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
clone
-
ice_writeMembers
Marshals this object's fields into an output stream.- Parameters:
ostr
- the output stream
-
ice_readMembers
Unmarshals and sets this object's fields from an input stream.- Parameters:
istr
- the input stream
-
ice_write
Marshals aServerInstanceDescriptor
into an output stream.- Parameters:
ostr
- the output streamv
- theServerInstanceDescriptor
to marshal; can be null
-
ice_read
Unmarshals aServerInstanceDescriptor
from an input stream.- Parameters:
istr
- the input stream- Returns:
- the unmarshaled
ServerInstanceDescriptor
-
ice_write
Marshals an optionalServerInstanceDescriptor
into an output stream.- Parameters:
ostr
- the output streamtag
- the tagv
- the value to marshal
-
ice_write
Marshals an optionalServerInstanceDescriptor
into an output stream.- Parameters:
ostr
- the output streamtag
- the tagv
- the value to marshal
-
ice_read
Unmarshals an optionalServerInstanceDescriptor
from an input stream.- Parameters:
istr
- the input streamtag
- the tag- Returns:
- the unmarshaled value
-