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 | 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 | 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 | Description |
---|---|---|
Map<Class<?>,ExceptionHandler<?>> |
DemuxingIoHandler.getExceptionHandlerMap() |
Modifier and Type | Method | 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–2018 Apache MINA Project. All rights reserved.