Interface ListenerBase<S,D>
- All Known Implementing Classes:
Listener,ListenerService.AsynchronousListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Created by The eXo Platform SAS
This class is registered with the Listener service and is invoked when an event with the same name is broadcasted. You can have many listeners with the same name to listen to an event.
This class is registered with the Listener service and is invoked when an event with the same name is broadcasted. You can have many listeners with the same name to listen to an event.
- Author:
- Nhu Dinh Thuan
- eXo level API
- Platform
-
Method Summary
-
Method Details
-
onEvent
This method should be invoked when an event with the same name is broadcasted- Parameters:
event- the event instance- Throws:
Exception
-
getName
-