|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RmiCommandListener
The listener interface for receiving command events. The class that is interested in receiving commands implements this interface, and the object that is created from that class registers itself to command events generating sources. Registering and deregistering uses the standard convention names, addCommandListener and removeCommandListener. When a command is fired the command of all registered command listeners is invoked.
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| Method Summary | |
|---|---|
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. |
| Methods inherited from interface util.rmi.RmiEventListener |
|---|
getListenerName |
| Methods inherited from interface util.rmi.RmiListener |
|---|
disconnect, isConnected |
| Method Detail |
|---|
void rmiCommand(CommandEvent ce)
throws RemoteException
RemoteException
boolean accepts(CommandEvent ce)
throws RemoteException
RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||