public class CommandQueue extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
add(PreparedCommand pc) |
void |
clear(boolean areSent) |
boolean |
contains(PreparedCommand pc) |
YProcessor |
getChannel() |
PreparedCommand[] |
getCommandArray() |
int |
getCommandCount() |
ConcurrentLinkedQueue<PreparedCommand> |
getCommands() |
String |
getName() |
int |
getNbRejectedCommands() |
int |
getNbSentCommands() |
Commanding.QueueState |
getState() |
int |
getStateExpirationRemainingS() |
boolean |
remove(PreparedCommand pc,
boolean isSent)
remove the command from the queue and return true if it has been removed
|
public ConcurrentLinkedQueue<PreparedCommand> getCommands()
public String getName()
public Commanding.QueueState getState()
public YProcessor getChannel()
public PreparedCommand[] getCommandArray()
public int getCommandCount()
public boolean contains(PreparedCommand pc)
public void add(PreparedCommand pc)
public boolean remove(PreparedCommand pc, boolean isSent)
pc - isSent: - true if the command has been sent, false if the commmand has been rejectedpublic void clear(boolean areSent)
public int getNbRejectedCommands()
public int getStateExpirationRemainingS()
public int getNbSentCommands()
Copyright © 2017 Space Applications Services. All rights reserved.