Package org.yamcs

Class ContainerExtractionResult

java.lang.Object
org.yamcs.ContainerExtractionResult

public class ContainerExtractionResult extends Object
Holds the definition of a container, the content of its slice and some positioning information inside that slice
  • Constructor Details

    • ContainerExtractionResult

      public ContainerExtractionResult(SequenceContainer container, byte[] containerContent, int offset, int bitPosition, long acquisitionTime, long generationTime, int seqCount, boolean derivedFromRoot)
  • Method Details

    • getContainer

      public SequenceContainer getContainer()
    • getContainerContent

      public byte[] getContainerContent()
    • getLocationInContainerInBits

      public int getLocationInContainerInBits()
      Returns:
      the position in bits where the entries defined in this container start
    • getOffset

      public int getOffset()
      Returns:
      the position in bytes where this container including parent hierarchy starts
    • getAcquisitionTime

      public long getAcquisitionTime()
    • getGenerationTime

      public long getGenerationTime()
    • isDerivedFromRoot

      public boolean isDerivedFromRoot()
      Return true if this inherits (directly or indirectly) from the root container.

      Return false if this does not inherit from the root container - that means is obtained through container composition rather than inheritance

    • getSeqCount

      public int getSeqCount()
    • toString

      public String toString()
      Overrides:
      toString in class Object