Package org.km3net.clb.remote.msg
Interface MessageEventHandler<T>
-
- Type Parameters:
T- The type of object created by the event.
- All Known Implementing Classes:
EventDispenser
public interface MessageEventHandler<T>Interface implemented to receive events of specific types.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandleEvent(MessageContext context, T value)Invoked when such an event arrives.
-
-
-
Method Detail
-
handleEvent
void handleEvent(MessageContext context, T value)
Invoked when such an event arrives.- Parameters:
context- The context of the message.value- The value.
-
-