Package org.yamcs.mdb
Class ContainerProcessingContext
java.lang.Object
org.yamcs.mdb.ContainerProcessingContext
Keeps track of where we are when processing a packet.
One object is used for all containers deriving in a hierarchy
-
Field Summary
Modifier and TypeFieldDescriptionfinal DataEncodingDecoder
final boolean
boolean
final SequenceEntryProcessor
-
Constructor Summary
ConstructorDescriptionContainerProcessingContext
(ProcessorData pdata, BitBuffer buffer, ContainerProcessingResult result, Subscription subscription, ContainerProcessingOptions options, boolean derivedFromRoot) -
Method Summary
Modifier and TypeMethodDescriptionlong
getMdb()
Finds a parameter instance (i.e. a value) for a parameter in the current context It only returns a parameter if the instance status was {@link AcquisitionStatus#ACQUIRED)
-
Field Details
-
sequenceContainerProcessor
-
sequenceEntryProcessor
-
dataEncodingProcessor
-
provideContainerResult
public boolean provideContainerResult -
derivedFromRoot
public final boolean derivedFromRoot
-
-
Constructor Details
-
ContainerProcessingContext
public ContainerProcessingContext(ProcessorData pdata, BitBuffer buffer, ContainerProcessingResult result, Subscription subscription, ContainerProcessingOptions options, boolean derivedFromRoot)
-
-
Method Details
-
getValue
Finds a parameter instance (i.e. a value) for a parameter in the current context It only returns a parameter if the instance status was {@link AcquisitionStatus#ACQUIRED)- Parameters:
pir
-- Returns:
- the value found or null if not value has been found
-
getIntegerValue
-
getMdb
-
getProcessorData
-