Package org.djutils.demo.rmi
Interface ListenerInterface
-
- All Superinterfaces:
Remote
- All Known Implementing Classes:
Listener
public interface ListenerInterface extends Remote
ListenreInterface.java.Copyright (c) 2019-2021 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUTILS License.- Author:
- Alexander Verbraeck
-
-
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
-
-