java.lang.Object
com.zeroc.IceGrid.ObjectDescriptor
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a well-known Ice object.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs aObjectDescriptor
.ObjectDescriptor
(Identity id, String type, String proxyOptions) Constructs aObjectDescriptor
with values for all its fields. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
int
hashCode()
static ObjectDescriptor
ice_read
(InputStream istr) Unmarshals anObjectDescriptor
from an input stream.static Optional<ObjectDescriptor>
ice_read
(InputStream istr, int tag) Unmarshals an optionalObjectDescriptor
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, ObjectDescriptor v) Marshals an optionalObjectDescriptor
into an output stream.static void
ice_write
(OutputStream ostr, int tag, Optional<ObjectDescriptor> v) Marshals an optionalObjectDescriptor
into an output stream.static void
ice_write
(OutputStream ostr, ObjectDescriptor v) Marshals anObjectDescriptor
into an output stream.void
ice_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 aObjectDescriptor
with 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 anObjectDescriptor
into an output stream.- Parameters:
ostr
- the output streamv
- theObjectDescriptor
to marshal; can be null
-
ice_read
Unmarshals anObjectDescriptor
from an input stream.- Parameters:
istr
- the input stream- Returns:
- the unmarshaled
ObjectDescriptor
-
ice_write
Marshals an optionalObjectDescriptor
into an output stream.- Parameters:
ostr
- the output streamtag
- the tagv
- the value to marshal
-
ice_write
Marshals an optionalObjectDescriptor
into an output stream.- Parameters:
ostr
- the output streamtag
- the tagv
- the value to marshal
-
ice_read
Unmarshals an optionalObjectDescriptor
from an input stream.- Parameters:
istr
- the input streamtag
- the tag- Returns:
- the unmarshaled value
-