Class Subscription

java.lang.Object
org.yamcs.xtceproc.Subscription

public class Subscription extends Object
keeps track of the parameters and containers subscribed (because we only want to extract those)
  • Method Details

    • addSequenceContainer

      public SubscribedContainer addSequenceContainer(SequenceContainer containerDef)
    • addAll

      public void addAll(SequenceContainer seq)
      Called in the cases when seq is part of other containers through aggregation. The parent container will need to know the size of this one so we add all entries of seq.
      Parameters:
      seq -
    • addSequenceEntry

      public void addSequenceEntry(SequenceEntry se)
    • addParameter

      public void addParameter(Parameter parameter)
      Add to the subscription all the entries and containers on which this parameter depends
      Parameters:
      parameter -
    • getContainers

      public Collection<SequenceContainer> getContainers()
      Get the set of all containers subscribed
      Returns:
      set of containers subscribed
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getSubscribedContainer

      public SubscribedContainer getSubscribedContainer(SequenceContainer containerDef)