java.lang.Object
com.zeroc.IceGrid.TemplateDescriptor
- All Implemented Interfaces:
Serializable,Cloneable
Describes a template for a server or an IceBox service.
Remarks:
The Slice compiler generated this class from Slice struct ::IceGrid::TemplateDescriptor.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe communicator.The parameters' default values.The parameters required to instantiate the template. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs aTemplateDescriptor.TemplateDescriptor(CommunicatorDescriptor descriptor, List<String> parameters, Map<String, String> parameterDefaults) Constructs aTemplateDescriptorwith values for all its fields. -
Method Summary
Modifier and TypeMethodDescriptionclone()booleaninthashCode()static TemplateDescriptorice_read(InputStream istr) Unmarshals aTemplateDescriptorfrom an input stream.static Optional<TemplateDescriptor>ice_read(InputStream istr, int tag) Unmarshals an optionalTemplateDescriptorfrom 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, TemplateDescriptor v) Marshals an optionalTemplateDescriptorinto an output stream.static voidice_write(OutputStream ostr, int tag, Optional<TemplateDescriptor> v) Marshals an optionalTemplateDescriptorinto an output stream.static voidice_write(OutputStream ostr, TemplateDescriptor v) Marshals aTemplateDescriptorinto an output stream.voidice_writeMembers(OutputStream ostr) Marshals this object's fields into an output stream.
-
Field Details
-
descriptor
The communicator. -
parameters
The parameters required to instantiate the template. -
parameterDefaults
The parameters' default values.
-
-
Constructor Details
-
TemplateDescriptor
public TemplateDescriptor()Constructs aTemplateDescriptor. -
TemplateDescriptor
public TemplateDescriptor(CommunicatorDescriptor descriptor, List<String> parameters, Map<String, String> parameterDefaults) Constructs aTemplateDescriptorwith values for all its fields.- Parameters:
descriptor- The communicator.parameters- The parameters required to instantiate the template.parameterDefaults- The parameters' default values.
-
-
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 aTemplateDescriptorinto an output stream.- Parameters:
ostr- the output streamv- theTemplateDescriptorto marshal
-
ice_read
Unmarshals aTemplateDescriptorfrom an input stream.- Parameters:
istr- the input stream- Returns:
- the unmarshaled
TemplateDescriptor
-
ice_write
Marshals an optionalTemplateDescriptorinto an output stream.- Parameters:
ostr- the output streamtag- the tagv- the value to marshal
-
ice_write
Marshals an optionalTemplateDescriptorinto an output stream.- Parameters:
ostr- the output streamtag- the tagv- the value to marshal
-
ice_read
Unmarshals an optionalTemplateDescriptorfrom an input stream.- Parameters:
istr- the input streamtag- the tag- Returns:
- the unmarshaled value
-