Package com.zeroc.Ice
Class Value
java.lang.Object
com.zeroc.Ice.Value
- All Implemented Interfaces:
Serializable
,Cloneable
- Direct Known Subclasses:
BoxedDistributionDescriptor
,BoxedString
,CommunicatorDescriptor
,InterfaceByValue
,LoadBalancingPolicy
,Metrics
,UnknownSlicedValue
,ValueReader
,ValueWriter
The base class for instances of Slice classes.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Returns a copy of the object.Returns the sliced data if the value has a preserved-slice base class and has been sliced during un-marshaling of the value, null is returned otherwise.ice_id()
Returns the Slice type ID of the most-derived interface supported by this object.void
The Ice run time invokes this method after unmarshaling an object's data members.void
The Ice run time invokes this method prior to marshaling an object's data members.static String
-
Constructor Details
-
Value
public Value()
-
-
Method Details
-
clone
Returns a copy of the object. The cloned object contains field-for-field copies of the state. -
ice_preMarshal
public void ice_preMarshal()The Ice run time invokes this method prior to marshaling an object's data members. This allows a subclass to override this method in order to validate its data members. -
ice_postUnmarshal
public void ice_postUnmarshal()The Ice run time invokes this method after unmarshaling an object's data members. This allows a subclass to override this method in order to perform additional initialization. -
ice_id
Returns the Slice type ID of the most-derived interface supported by this object.- Returns:
- The return value is always
::Ice::Object
.
-
ice_getSlicedData
Returns the sliced data if the value has a preserved-slice base class and has been sliced during un-marshaling of the value, null is returned otherwise.- Returns:
- The sliced data or null.
-
ice_staticId
-