Package org.djutils.rmi
Interface RMITest.ListenerInterface
-
- All Superinterfaces:
Remote
- All Known Implementing Classes:
RMITest.Listener
- Enclosing class:
- RMITest
public static interface RMITest.ListenerInterface extends Remote
ListenerInterface for remote listener object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
Return the name under which the listenerInterface is registered.void
notify(String payload)
Notify the listener of a message.
-
-
-
Method Detail
-
getName
String getName() throws RemoteException
Return the name under which the listenerInterface is registered.- Returns:
- the name
- Throws:
RemoteException
- on network error
-
notify
void notify(String payload) throws RemoteException
Notify the listener of a message.- Parameters:
payload
- the message- Throws:
RemoteException
- on network error
-
-