java.lang.Object
com.zeroc.IceGrid.ServerInstanceDescriptor
- All Implemented Interfaces:
Serializable,Cloneable
Describes a template instantiation that creates a server.
Remarks:
The Slice compiler generated this class from Slice struct ::IceGrid::ServerInstanceDescriptor.
- 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 aServerInstanceDescriptorwith values for all its fields. -
Method Summary
Modifier and TypeMethodDescriptionclone()booleaninthashCode()static ServerInstanceDescriptorice_read(InputStream istr) Unmarshals aServerInstanceDescriptorfrom an input stream.static Optional<ServerInstanceDescriptor>ice_read(InputStream istr, int tag) Unmarshals an optionalServerInstanceDescriptorfrom an input stream.voidice_readMembers(InputStream istr) Unmarshals and sets this object's fields from an input stream.static voidice_write(OutputStream ostr, int tag, ServerInstanceDescriptor v) Marshals an optionalServerInstanceDescriptorinto an output stream.static voidice_write(OutputStream ostr, int tag, Optional<ServerInstanceDescriptor> v) Marshals an optionalServerInstanceDescriptorinto an output stream.static voidMarshals aServerInstanceDescriptorinto an output stream.voidice_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 aServerInstanceDescriptorwith 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 aServerInstanceDescriptorinto an output stream.- Parameters:
ostr- the output streamv- theServerInstanceDescriptorto marshal
-
ice_read
Unmarshals aServerInstanceDescriptorfrom an input stream.- Parameters:
istr- the input stream- Returns:
- the unmarshaled
ServerInstanceDescriptor
-
ice_write
Marshals an optionalServerInstanceDescriptorinto an output stream.- Parameters:
ostr- the output streamtag- the tagv- the value to marshal
-
ice_write
Marshals an optionalServerInstanceDescriptorinto an output stream.- Parameters:
ostr- the output streamtag- the tagv- the value to marshal
-
ice_read
Unmarshals an optionalServerInstanceDescriptorfrom an input stream.- Parameters:
istr- the input streamtag- the tag- Returns:
- the unmarshaled value
-