stella.error
Class TimeOutError
java.lang.Object
java.util.EventObject
util.rmi.RmiEvent
stella.MessageEvent
stella.ErrorEvent
stella.error.TimeOutError
- All Implemented Interfaces:
- Serializable, CommandKnowledge
- Direct Known Subclasses:
- AcknowledgeTimeOut, CompletionTimeOut, LateReply
public class TimeOutError
- extends ErrorEvent
- implements CommandKnowledge
An error event signaling a time out receiving the first acknowledge event.
This may indicate that either the network is down or the computer who was
the addressee of the previous command is down. It is a rather severe error
(level 7) and in the current version the follow-up is a shut-down of the
telescope.
- See Also:
- Serialized Form
| Fields inherited from class stella.ErrorEvent |
ABORT_EXPOSURE, ABORT_TARGET, ALARM_OFF, ALARM_ON, BAD_SEEING, BAD_WEATHER, CLEAR_TEL, CLOSE_COVER, CLOSE_ROOF, CLOSE_SHUTTER, CONT_TIME, ERROR_TOKEN, ERRORCOMBINE, ERRORPACKAGE, GOOD_WEATHER, HIGH_WIND, MAIL_HOME, MAIL_LOCAL, MOVE_HOME, MOVE_PARK, NONE, OPEN_COVER, OPEN_SHUTTER, PIPE, REACQUIRE, REPOSITION, RESEND_COMMAND, RESET_ADAPTER, RESET_CALIBRATION, RESET_CCD, RESET_ENV, RESET_ERRORS, RESET_SPEC, RESET_TEL, SHUT_DOWN, STATUS_TOKEN, STOP_TIME |
| Methods inherited from class stella.ErrorEvent |
consume, createError, createError, createError, createError, createError, createStatus, createStatus, createStatus, extractClassName, extractFollowUp, extractPipe, getErrorClass, getFollowUp, getLine, getSevereness, isConsumed, isPipe, isStatus, parseClassName, parseHeader, parseLine, setFollowUp, setHuman, setHuman, setPipe |
| 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 |
follows
private CommandEvent follows
- The command type the time out error follows.
TimeOutError
protected TimeOutError(Object src)
- Constructs a software error. Uses the
#SEVERENESS level,
has a #FOLLOWUP as a recovery strategy an does not pipe.
setCommand
public void setCommand(CommandEvent cmd)
- Sets the command the time out event follows.
- Specified by:
setCommand in interface CommandKnowledge
getCommand
public CommandEvent getCommand()
- Sets the command the time out event follows.
- Specified by:
getCommand in interface CommandKnowledge
getHuman
public String getHuman()
- If we have a follows-command set, we add that.
- Overrides:
getHuman in class ErrorEvent
- Returns:
- A String holding a readable description of the error.