public class TelescopeAccess extends GenericAccess
TelescopeControlling enhanced
objects. The command line arguments are scanned for recognized switches and
processed accordingly. Additionally to the functionality of the parent class
ShiftListener, this class supports the following switches:
stella.jview.JLaunchBox, this caster should be deregistered before
enabling automatic mode. In automatic mode, only the status retrieval and
setting the manual mode is supported.stella.jview.JLaunchBox, requires additionally a registering at the
new caster. Only in manual mode, all of the further actions are allowed.CommandLineParser.Template, CommandLineParser.Test| Modifier and Type | Field and Description |
|---|---|
static String |
FOURSWITCHES
The command line switches understood by this access class, two arg.
|
static String |
ONESWITCHES
The command line switches understood by this access class, one arg.
|
static String |
TWOSWITCHES
The command line switches understood by this access class, two arg.
|
static String |
ZEROSWITCHES
The command line switches understood by this class with no arg.
|
FOOT, USEHELPSWITCHES| Constructor and Description |
|---|
TelescopeAccess()
Constructs a new camera access instance.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] arg)
Access to a camera-control object.
|
protected boolean |
processSwitches(Remote listener)
Process the command line switches found.
|
processFor, scanForaddHelpSwitches, getArguments, getCallerName, getCommandLine, getCommands, getRegisteredSwitches, hasAnySwitch, hasHelpSwitch, hasSwitch, hasSwitch, haveAllSwitches, parse, printCommandLine, printCommandLine, registerLine, registerSwitches, setCommands, staticUsage, usagepublic static final String ZEROSWITCHES
public static final String ONESWITCHES
public static final String TWOSWITCHES
public static final String FOURSWITCHES
public TelescopeAccess()
protected boolean processSwitches(Remote listener) throws RemoteException
SesControlling and one of the switches defined in
ZEROSWITCHES, ONESWITCHES, TWOSWITCHES,
#THREESWITCHES, or #SIXSWITCHES is given, the appropriate
method of the listener control is called. Note that the command line must
be parsed before calling this method.processSwitches in class GenericAccessRemoteExceptionpublic static void main(String[] arg) throws ParseException, RemoteException, NotBoundException, MalformedURLException