Package | Description |
---|---|
org.apache.mina.handler.demux |
A handler implementation that helps you implement complex protocols by splitting
messageReceived handlers into multiple sub-handlers.
|
Modifier and Type | Field and Description |
---|---|
static ExceptionHandler<Throwable> |
ExceptionHandler.CLOSE
A
ExceptionHandler that closes the session immediately. |
static ExceptionHandler<Throwable> |
ExceptionHandler.NOOP
A
ExceptionHandler that does nothing. |
Modifier and Type | Method and Description |
---|---|
<E extends Throwable> |
DemuxingIoHandler.addExceptionHandler(Class<E> type,
ExceptionHandler<? super E> handler)
Registers a
MessageHandler that receives the messages of
the specified type . |
protected ExceptionHandler<Throwable> |
DemuxingIoHandler.findExceptionHandler(Class<? extends Throwable> type) |
<E extends Throwable> |
DemuxingIoHandler.removeExceptionHandler(Class<E> type)
Deregisters a
MessageHandler that receives the messages of
the specified type . |
Modifier and Type | Method and Description |
---|---|
Map<Class<?>,ExceptionHandler<?>> |
DemuxingIoHandler.getExceptionHandlerMap() |
Modifier and Type | Method and Description |
---|---|
<E extends Throwable> |
DemuxingIoHandler.addExceptionHandler(Class<E> type,
ExceptionHandler<? super E> handler)
Registers a
MessageHandler that receives the messages of
the specified type . |
Copyright © 2004–2021 Apache MINA Project. All rights reserved.