java.lang.Object
com.zeroc.IceGrid.ObjectDescriptor
- All Implemented Interfaces:
Serializable,Cloneable
Describes a well-known Ice object.
Remarks:
The Slice compiler generated this class from Slice struct ::IceGrid::ObjectDescriptor.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs aObjectDescriptor.ObjectDescriptor(Identity id, String type, String proxyOptions) Constructs aObjectDescriptorwith values for all its fields. -
Method Summary
Modifier and TypeMethodDescriptionclone()booleaninthashCode()static ObjectDescriptorice_read(InputStream istr) Unmarshals anObjectDescriptorfrom an input stream.static Optional<ObjectDescriptor>ice_read(InputStream istr, int tag) Unmarshals an optionalObjectDescriptorfrom 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, ObjectDescriptor v) Marshals an optionalObjectDescriptorinto an output stream.static voidice_write(OutputStream ostr, int tag, Optional<ObjectDescriptor> v) Marshals an optionalObjectDescriptorinto an output stream.static voidice_write(OutputStream ostr, ObjectDescriptor v) Marshals anObjectDescriptorinto an output stream.voidice_writeMembers(OutputStream ostr) Marshals this object's fields into an output stream.
-
Field Details
-
id
The identity of the object. -
type
The object type. -
proxyOptions
The proxy options to use when creating a proxy for this well-known object. If empty, the proxy is created with the proxy options specified on the object adapter or replica group.
-
-
Constructor Details
-
ObjectDescriptor
public ObjectDescriptor()Constructs aObjectDescriptor. -
ObjectDescriptor
Constructs aObjectDescriptorwith values for all its fields.- Parameters:
id- The identity of the object.type- The object type.proxyOptions- The proxy options to use when creating a proxy for this well-known object.
-
-
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 anObjectDescriptorinto an output stream.- Parameters:
ostr- the output streamv- theObjectDescriptorto marshal
-
ice_read
Unmarshals anObjectDescriptorfrom an input stream.- Parameters:
istr- the input stream- Returns:
- the unmarshaled
ObjectDescriptor
-
ice_write
Marshals an optionalObjectDescriptorinto an output stream.- Parameters:
ostr- the output streamtag- the tagv- the value to marshal
-
ice_write
Marshals an optionalObjectDescriptorinto an output stream.- Parameters:
ostr- the output streamtag- the tagv- the value to marshal
-
ice_read
Unmarshals an optionalObjectDescriptorfrom an input stream.- Parameters:
istr- the input streamtag- the tag- Returns:
- the unmarshaled value
-