public interface RmiCommandListener extends RmiEventListener
Due to the necessity to test the connection between command clients and
command servers this interface also defines the RmiListener.isConnected() method.
For an rmi based client/server schema, this method should simply return
true. Misfunctional connection is detected via remote exceptions
thrown.
Remote| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(CommandEvent ce)
Returns true if this rmi-command listener can handle the stated
command.
|
void |
rmiCommand(CommandEvent ce)
The method called by registered telescope command casters.
|
getListenerNamedisconnect, isConnectedvoid rmiCommand(CommandEvent ce) throws RemoteException
RemoteExceptionboolean accepts(CommandEvent ce) throws RemoteException
RemoteException