Class ParameterSubscription

java.lang.Object
org.yamcs.client.base.AbstractSubscription<org.yamcs.protobuf.SubscribeParametersRequest,org.yamcs.protobuf.SubscribeParametersData>
org.yamcs.client.ParameterSubscription
All Implemented Interfaces:
Future<Void>, Subscription<org.yamcs.protobuf.SubscribeParametersRequest,org.yamcs.protobuf.SubscribeParametersData>

public class ParameterSubscription extends AbstractSubscription<org.yamcs.protobuf.SubscribeParametersRequest,org.yamcs.protobuf.SubscribeParametersData>
  • Field Details

  • Constructor Details

    • ParameterSubscription

      protected ParameterSubscription(org.yamcs.api.MethodHandler methodHandler)
  • Method Details

    • processMessage

      protected void processMessage(org.yamcs.protobuf.SubscribeParametersData message)
    • addListener

      public void addListener(ParameterSubscription.Listener listener)
    • get

      public org.yamcs.protobuf.Pvalue.ParameterValue get(org.yamcs.protobuf.Yamcs.NamedObjectId id)
      Get the latest value for a specific parameter. This method looks for the value from a local cache. It does not contact Yamcs.
    • add

      public void add(List<org.yamcs.protobuf.Yamcs.NamedObjectId> ids)
      Extends the ongoing subscription with the provided identifiers.
    • remove

      public void remove(List<org.yamcs.protobuf.Yamcs.NamedObjectId> ids)
      Shrinks the ongoing subscription by removing the provided identifiers.