T
- The type of object created by the event.public interface MessageEventHandler<T>
Modifier and Type | Method and Description |
---|---|
void |
handleEvent(MessageContext context,
T value)
Invoked when such an event arrives.
|
void handleEvent(MessageContext context, T value)
context
- The context of the message.value
- The value.