java.lang.Object
com.zeroc.Ice.SliceInfo
Encapsulates the details of a slice with an unknown type.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal byte[]
The encoded bytes for this slice, including the leading size integer.final int
The Slice compact type ID for this slice.final boolean
Whether or not the slice contains optional members.Value[]
The class instances referenced by this slice.final boolean
Whether or not this is the last slice.final String
The Slice type ID for this slice. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
typeId
The Slice type ID for this slice. -
compactId
public final int compactIdThe Slice compact type ID for this slice. -
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) The SliceInfo constructor.- Parameters:
typeId
- the Slice type IDcompactId
- the Slice compact type IDbytes
- the encoded bytes for this slice, including the leading size integerhasOptionalMembers
- whether or not the slice contains optional membersisLastSlice
- whether or not this is the last slice
-