|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
util.rmi.RmiEvent
stella.MessageEvent
stella.CommandEvent
stella.command.StartWatchMaster
public class StartWatchMaster
The start-guiding command. It is an adpater command because the guiding camera is part of the adapter. This is a test version only. The final command may look different.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class stella.CommandEvent |
|---|
CommandEvent.Create |
| Field Summary | |
|---|---|
private long |
maxtime
The desired maximal exposure time as a long in ms. |
private static double |
TOMILLI
The conversions from the time found in the xml-file to ms. |
| Fields inherited from class stella.CommandEvent |
|---|
COMMANDPACKAGE, JVIEWPACKAGE, TYPESEPARATOR |
| Fields inherited from class stella.MessageEvent |
|---|
SEPCHAR |
| Fields inherited from class util.rmi.RmiEvent |
|---|
localHost, sourceName |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
StartWatchMaster(Object src)
Constructs a abort adapter telescope, grabbing the type from the class name and setting the command time to the current system time. |
|
StartWatchMaster(Object src,
String type,
long time)
Constructs a move telescope command. |
|
| Method Summary | |
|---|---|
String[] |
getLine()
Returns the command line of the move telescope command. |
long |
getMaxTime()
Returns the stopwatch time as a long in ms. |
boolean |
parseLine(String[] all)
Parse the command line into ra and dec of the move command. |
void |
registerParameter(Parameter expose)
Registers an external parameter giving the maximum exposure time. |
void |
registerTargetProperties(Object setup)
Calculates the command line from the star description delivered in the DTDConstants.SETUP DOM-element. |
| Methods inherited from class stella.CommandEvent |
|---|
classNameToTemplate, createCommand, createCommand, createJCommand, extractType, getExpectedAcknowledgeNumber, parseForStrings, templateToClassName |
| Methods inherited from class stella.MessageEvent |
|---|
checkType, equals, equalTime, equalTime, fromAscii, getAllCommandLines, getExecuteGroupKey, getHead, getNr, getTime, getType, hashCode, isValid, parseFromSingleString, readFromBufferedStream, setNr, setTime, setType, setValid, toString |
| Methods inherited from class util.rmi.RmiEvent |
|---|
getHost, getSourceName, setSourceName |
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final double TOMILLI
private long maxtime
| Constructor Detail |
|---|
public StartWatchMaster(Object src)
public StartWatchMaster(Object src,
String type,
long time)
DTDConstants.SETUP
element has been registered to
this command.
MessageEvent.isValid()| Method Detail |
|---|
public void registerParameter(Parameter expose)
registerParameter in interface ParameterDependingpublic void registerTargetProperties(Object setup)
DTDConstants.SETUP DOM-element. It uses the
ReservedConstants.EXPOSURETIME key within the properties to
derive the principal exposure time for the object.
registerTargetProperties in interface TargetDependingCommandpublic String[] getLine()
getLine in class MessageEventpublic boolean parseLine(String[] all)
parseLine in class MessageEventpublic long getMaxTime()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||