java.lang.Object
com.zeroc.Ice.Value
- All Implemented Interfaces:
Serializable,Cloneable
- Direct Known Subclasses:
BoxedDistributionDescriptor,BoxedString,CommunicatorDescriptor,LoadBalancingPolicy,Metrics,UnknownSlicedValue
The base class for instances of Slice-defined classes.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Returns a shallow field-for-field copy of this object.Returns the sliced data associated with this instance.ice_id()Returns the Slice type ID of the most-derived class supported by this object.voidThe Ice runtime calls this method after unmarshaling a class instance.voidThe Ice runtime calls this method before marshaling a class instance.static StringReturns the Slice type ID of this type.
-
Constructor Details
-
Value
public Value()
-
-
Method Details
-
clone
Returns a shallow field-for-field copy of this object. -
ice_preMarshal
public void ice_preMarshal()The Ice runtime calls this method before marshaling a class instance. Subclasses can override this method in order to update or validate their fields before marshaling. -
ice_postUnmarshal
public void ice_postUnmarshal()The Ice runtime calls this method after unmarshaling a class instance. Subclasses can override this method in order to update or validate their fields after unmarshaling. -
ice_id
Returns the Slice type ID of the most-derived class supported by this object.- Returns:
- the Slice type ID
-
ice_getSlicedData
Returns the sliced data associated with this instance.- Returns:
- If this value has a preserved-slice base class and has been sliced during unmarshaling, this returns the
sliced data; otherwise this returns
null.
-
ice_staticId
Returns the Slice type ID of this type.- Returns:
- The return value is always
"::Ice::Object".
-