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 -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(CommandListener listener) voidclear()getCommand(String id) voidremoveListener(CommandListener listener) Methods inherited from class org.yamcs.client.base.AbstractSubscription
addMessageListener, awaitConfirmation, awaitConfirmation, cancel, get, get, getConfirmationFuture, isCancelled, isDone, sendMessage
-
Constructor Details
-
CommandSubscription
-
-
Method Details
-
addListener
-
removeListener
-
clear
public void clear() -
getCommand
-