public class ParameterSubscription extends AbstractSubscription<SubscribeParametersRequest,SubscribeParametersData>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ParameterSubscription.Listener |
| Modifier and Type | Field and Description |
|---|---|
protected Set<ParameterSubscription.Listener> |
listeners |
protected Map<Integer,Yamcs.NamedObjectId> |
mapping |
clientObserver| Modifier | Constructor and Description |
|---|---|
protected |
ParameterSubscription(MethodHandler methodHandler) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(List<Yamcs.NamedObjectId> ids)
Extends the ongoing subscription with the provided identifiers.
|
void |
addListener(ParameterSubscription.Listener listener) |
Pvalue.ParameterValue |
get(Yamcs.NamedObjectId id)
Get the latest value for a specific parameter.
|
protected void |
processMessage(SubscribeParametersData message) |
void |
remove(List<Yamcs.NamedObjectId> ids)
Shrinks the ongoing subscription by removing the provided identifiers.
|
addMessageListener, cancel, get, get, isCancelled, isDone, sendMessageprotected Set<ParameterSubscription.Listener> listeners
protected Map<Integer,Yamcs.NamedObjectId> mapping
protected ParameterSubscription(MethodHandler methodHandler)
protected void processMessage(SubscribeParametersData message)
public void addListener(ParameterSubscription.Listener listener)
public Pvalue.ParameterValue get(Yamcs.NamedObjectId id)
public void add(List<Yamcs.NamedObjectId> ids)
public void remove(List<Yamcs.NamedObjectId> ids)
Copyright © 2020 Space Applications Services. All rights reserved.