|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ExceptionHandler | |
|---|---|
| org.apache.mina.handler.demux | A handler implementation that helps you implement complex protocols by splitting messageReceived handlers into multiple sub-handlers. |
| Uses of ExceptionHandler in org.apache.mina.handler.demux |
|---|
| Fields in org.apache.mina.handler.demux declared as ExceptionHandler | |
|---|---|
static ExceptionHandler<Throwable> |
ExceptionHandler.CLOSE
A ExceptionHandler that closes the session immediately. |
static ExceptionHandler<Throwable> |
ExceptionHandler.NOOP
A ExceptionHandler that does nothing. |
| Methods in org.apache.mina.handler.demux that return ExceptionHandler | ||
|---|---|---|
|
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)
|
|
|
DemuxingIoHandler.removeExceptionHandler(Class<E> type)
Deregisters a MessageHandler that receives the messages of
the specified type. |
|
| Methods in org.apache.mina.handler.demux that return types with arguments of type ExceptionHandler | |
|---|---|
Map<Class<?>,ExceptionHandler<?>> |
DemuxingIoHandler.getExceptionHandlerMap()
Returns the Map which contains all messageType-MessageHandler
pairs registered to this handler. |
| Methods in org.apache.mina.handler.demux with parameters of type ExceptionHandler | ||
|---|---|---|
|
DemuxingIoHandler.addExceptionHandler(Class<E> type,
ExceptionHandler<? super E> handler)
Registers a MessageHandler that receives the messages of
the specified type. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||