public class PointingOffsetsTelescope extends CommandEvent implements TelescopeCommand, ParameterDepending
CommandEvent.Create| Modifier and Type | Field and Description |
|---|---|
private String |
unique
The unique identifier, gained from a
Unique instance. |
COMMANDPACKAGE, JVIEWPACKAGE, TYPESEPARATORSEPCHARlocalHost, sourceNamesource| Constructor and Description |
|---|
PointingOffsetsTelescope(Object src)
Constructs a abort adapter telescope, grabbing the type from the class
name and setting the command time to the current system time.
|
PointingOffsetsTelescope(Object src,
String type,
long time)
Construct a fully qualified abort telescope command.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
getLine()
Returns the command line of the move telescope command.
|
String |
getUnique()
Returns the right ascension of the target star.
|
boolean |
parseLine(String[] all)
Parse the command line into a focus position.
|
void |
registerParameter(Parameter uniq)
Registers a parameter which is normally the unique object-id.
|
void |
setUnique(String pos)
Sets the focus position.
|
classNameToTemplate, createCommand, createCommand, createJCommand, extractType, getExpectedAcknowledgeNumber, parseForStrings, templateToClassNamecheckType, equals, equalTime, equalTime, fromAscii, getAllCommandLines, getExecuteGroupKey, getHead, getNr, getTime, getType, hashCode, isValid, parseFromSingleString, readFromBufferedStream, setNr, setTime, setType, setValid, toSkippedString, toStringgetHost, getSourceName, setSourceNamegetSourcepublic PointingOffsetsTelescope(Object src)
public void registerParameter(Parameter uniq)
registerParameter in interface ParameterDependingpublic String[] getLine()
getLine in class MessageEventpublic boolean parseLine(String[] all)
parseLine in class MessageEventpublic String getUnique()
public void setUnique(String pos)