Package com.zeroc.Ice

Class SliceInfo

java.lang.Object
com.zeroc.Ice.SliceInfo

public final class SliceInfo extends Object
Encapsulates the details of a slice with an unknown type.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final 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.
    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
    Constructor
    Description
    SliceInfo(String typeId, int compactId, byte[] bytes, boolean hasOptionalMembers, boolean isLastSlice)
    The SliceInfo constructor.
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • typeId

      public final String typeId
      The Slice type ID for this slice.
    • compactId

      public final int compactId
      The Slice compact type ID for this slice.
    • bytes

      public final byte[] bytes
      The encoded bytes for this slice, including the leading size integer.
    • instances

      public Value[] instances
      The class instances referenced by this slice.
    • hasOptionalMembers

      public final boolean hasOptionalMembers
      Whether or not the slice contains optional members.
    • isLastSlice

      public final boolean isLastSlice
      Whether 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 ID
      compactId - the Slice compact type ID
      bytes - the encoded bytes for this slice, including the leading size integer
      hasOptionalMembers - whether or not the slice contains optional members
      isLastSlice - whether or not this is the last slice