public abstract class Command extends BusMessage implements CommandBusMessage
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
canRunInActiveMode
Deprecated.
|
protected boolean |
canWaitForReady
Deprecated.
|
protected String |
command |
protected String |
destination |
protected String |
key |
protected int |
level
The level of the sender of this command.
|
protected static org.lsst.ccs.utilities.logging.Logger |
log |
static Serializable[] |
NO_ARGS
to be used by subclasses for no args for commands
|
protected Object[] |
parameters |
protected boolean |
unParsed
Indicates that the command is a pure String to be parsed by the receiver.
|
detailLevel, origin, priorityLevel, summary, timeStamp| Modifier | Constructor and Description |
|---|---|
protected |
Command(String key,
int level,
String destination,
String command,
Object... parameterz) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRunInActiveMode()
Deprecated.
|
boolean |
canWaitForReady()
Deprecated.
|
String |
getCommand() |
String |
getCorrelId() |
String |
getDestination()
The command destination : subsystem name
|
String |
getKey()
Key used for lock and arbitration.
|
int |
getLevel() |
String |
getMessageType() |
Object[] |
getParameters() |
boolean |
isUnParsed() |
boolean |
isWrite()
Deprecated.
|
void |
setCanRunInActiveMode(boolean canRunInActiveMode)
Deprecated.
|
void |
setCanWaitForReady(boolean canWaitForReady)
Deprecated.
|
void |
setCorrelId(String correlId)
Correlation id, propagated from command to command.
|
void |
setDestination(String destination)
The command destination : subsystem name
|
void |
setKey(String key)
Key used for lock and arbitration.
|
void |
setLevel(int level)
Deprecated.
|
void |
setUnParsed(boolean unParsed) |
String |
toString() |
getDetailLevel, getOrigin, getPriorityLevel, getSummary, getTimeStamp, setDetailLevel, setOrigin, setPriorityLevel, setSummary, setTimeStamppublic static final Serializable[] NO_ARGS
protected static final org.lsst.ccs.utilities.logging.Logger log
protected String destination
protected String key
protected int level
protected String command
protected Object[] parameters
protected boolean unParsed
@Deprecated protected boolean canWaitForReady
@Deprecated protected boolean canRunInActiveMode
public String getMessageType()
getMessageType in class BusMessagepublic String getDestination()
getDestination in interface CommandBusMessagepublic void setDestination(String destination)
destination - public String getKey()
public void setKey(String key)
key - @Deprecated public boolean isWrite()
@Deprecated public boolean canWaitForReady()
@Deprecated public void setCanWaitForReady(boolean canWaitForReady)
canWaitForReady - @Deprecated public boolean canRunInActiveMode()
@Deprecated public void setCanRunInActiveMode(boolean canRunInActiveMode)
public String getCorrelId()
getCorrelId in interface CommandBusMessagepublic void setCorrelId(String correlId)
public boolean isUnParsed()
public void setUnParsed(boolean unParsed)
public String getCommand()
public Object[] getParameters()
public int getLevel()
@Deprecated public void setLevel(int level)
Copyright © 2014 LSST. All rights reserved.