M - Message typepublic interface MessageListener<M extends Message>
| Modifier and Type | Method and Description |
|---|---|
void |
error(Throwable ex)
Exceptionally complete underlying Future.
|
default boolean |
processMessage(M message)
Process protocol message.
|
default boolean processMessage(M message)
message - Message instancevoid error(Throwable ex)
ex - exception to pass to underlying Future.