java.lang.Object
com.zeroc.Ice.SliceInfo
Encapsulates the details of a class slice with an unknown type.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal byte[]The encoded bytes for this slice, including the leading size integer.final intThe Slice compact type ID for this slice, or-1if the slice has no compact ID.final booleanWhether or not the slice contains optional members.Value[]The class instances referenced by this slice.final booleanWhether or not this is the last slice.final StringThe Slice type ID for this slice. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
typeId
The Slice type ID for this slice. It's empty whencompactIdis set (not-1). -
compactId
public final int compactIdThe Slice compact type ID for this slice, or-1if the slice has no compact ID. -
bytes
public final byte[] bytesThe encoded bytes for this slice, including the leading size integer. -
instances
The class instances referenced by this slice. -
hasOptionalMembers
public final boolean hasOptionalMembersWhether or not the slice contains optional members. -
isLastSlice
public final boolean isLastSliceWhether or not this is the last slice.
-
-
Constructor Details
-
SliceInfo
public SliceInfo(String typeId, int compactId, byte[] bytes, boolean hasOptionalMembers, boolean isLastSlice) Constructs a SliceInfo instance.- Parameters:
typeId- the Slice type ID for this slicecompactId- the Slice compact type ID for this slicebytes- the encoded bytes for this slicehasOptionalMembers- whether or not the slice contains optional membersisLastSlice- whether or not this is the last slice
-