Package org.yamcs.client
Class CommandSubscription
- java.lang.Object
-
- org.yamcs.client.base.AbstractSubscription<SubscribeCommandsRequest,Commanding.CommandHistoryEntry>
-
- org.yamcs.client.CommandSubscription
-
- All Implemented Interfaces:
Future<Void>
,Subscription<SubscribeCommandsRequest,Commanding.CommandHistoryEntry>
public class CommandSubscription extends AbstractSubscription<SubscribeCommandsRequest,Commanding.CommandHistoryEntry>
Subscription for tracking issued commands, their attributes and acknowledgment status.
-
-
Field Summary
-
Fields inherited from class org.yamcs.client.base.AbstractSubscription
clientObserver
-
-
Constructor Summary
Constructors Constructor Description CommandSubscription(MethodHandler methodHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addListener(CommandListener listener)
void
clear()
Command
getCommand(String id)
void
removeListener(CommandListener listener)
-
Methods inherited from class org.yamcs.client.base.AbstractSubscription
addMessageListener, awaitConfirmation, awaitConfirmation, cancel, get, get, getConfirmationFuture, isCancelled, isDone, sendMessage
-
-
-
-
Constructor Detail
-
CommandSubscription
public CommandSubscription(MethodHandler methodHandler)
-
-
Method Detail
-
addListener
public void addListener(CommandListener listener)
-
removeListener
public void removeListener(CommandListener listener)
-
clear
public void clear()
-
-