public class PreparedCommand extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CNAME_BINARY |
static String |
CNAME_CMDNAME |
static String |
CNAME_GENTIME |
static String |
CNAME_ORIGIN |
static String |
CNAME_SEQNUM |
static String |
CNAME_SOURCE |
static String |
CNAME_USERNAME |
| Constructor and Description |
|---|
PreparedCommand(byte[] binary)
Used for testing the uplinkers
|
PreparedCommand(Commanding.CommandId id) |
public static final String CNAME_GENTIME
public static final String CNAME_SEQNUM
public static final String CNAME_ORIGIN
public static final String CNAME_USERNAME
public static final String CNAME_BINARY
public static final String CNAME_CMDNAME
public static final String CNAME_SOURCE
public PreparedCommand(Commanding.CommandId id)
public PreparedCommand(byte[] binary)
binary - public long getGenerationTime()
public void setSource(String source)
public String getSource()
public String getCmdName()
public Commanding.CommandHistoryAttribute getAttribute(String name)
public Commanding.CommandId getCommandId()
public UUID getUUID()
public static Commanding.CommandId getCommandId(Tuple t)
public Tuple toTuple()
public void setBinary(byte[] b)
public String getUsername()
public List<Commanding.CommandHistoryAttribute> getAttributes()
public static PreparedCommand fromTuple(Tuple t)
public static PreparedCommand fromCommandHistoryEntry(Commanding.CommandHistoryEntry che)
public Commanding.CommandHistoryEntry toCommandHistoryEntry()
public void addAttribute(Commanding.CommandHistoryAttribute cha)
public byte[] getBinary()
public void setUsername(String username)
public MetaCommand getMetaCommand()
public void setMetaCommand(MetaCommand cmd)
public boolean isPendingTransmissionConstraints()
public void setPendingTransmissionConstraints(boolean b)
public long getTransmissionContraintCheckStart()
public void setTransmissionContraintCheckStart(long transmissionContraintCheckStart)
Copyright © 2017 Space Applications Services. All rights reserved.