stella.adapter
Class AdapterAccess
java.lang.Object
util.CommandLineParser
stella.rmi.GenericAccess
stella.adapter.GuiderAccess
stella.adapter.AdapterAccess
public class AdapterAccess
- extends GuiderAccess
Allows acces to the adapter in manual mode according to
GuiderControlling. Warning: This class requires the adapter master
to listen to the altitude and image rotation parameters with its default
names. Access to them should be blocking.
On successful list generation/acquire, some status messages will be sent
back to any registered listener.
|
Field Summary |
static String |
NULLSWITCHES
The command line switches understood by this access class. |
static String |
ONESWITCHES
The command line switches understood by this access class. |
|
Constructor Summary |
AdapterAccess()
Constructs a new building access instance. |
|
Method Summary |
static void |
main(String[] arg)
Access to a calibration-control object. |
protected boolean |
processSwitches(Remote listener)
Process the command line switches found. |
| Methods inherited from class util.CommandLineParser |
getArguments, getCommandLine, getCommands, getRegisteredSwitches, hasAnySwitch, hasSwitch, hasSwitch, haveAllSwitches, parse, printCommandLine, registerLine, registerSwitches, setCommands, staticUsage, usage |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NULLSWITCHES
public static final String NULLSWITCHES
- The command line switches understood by this access class.
- See Also:
- Constant Field Values
ONESWITCHES
public static final String ONESWITCHES
- The command line switches understood by this access class.
- See Also:
- Constant Field Values
AdapterAccess
public AdapterAccess()
- Constructs a new building access instance. The switches understood are
readily added to the command line parser.
processSwitches
protected boolean processSwitches(Remote listener)
throws RemoteException
- Process the command line switches found. If the remote reference handed
over is a
GuiderControlling and one of the switches
defined in
#SWITCHES is given, the appropriate method of the listener
control is called. Note that the command line must be parsed before
calling this method.
Implementation note: Prior to the new command line switches, the one
provided by the parent class are processed.
- Overrides:
processSwitches in class GuiderAccess
- Returns:
- True on success.
- Throws:
RemoteException
main
public static void main(String[] arg)
throws ParseException,
RemoteException,
NotBoundException,
MalformedURLException
- Access to a calibration-control object. Command line switches may be
grouped arbitrarily.
- Throws:
ParseException
RemoteException
NotBoundException
MalformedURLException