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 MessageHandler<Object> |
MessageHandler.NOOP
A
MessageHandler that does nothing. |
Modifier and Type | Method and Description |
---|---|
<E> MessageHandler<? super E> |
DemuxingIoHandler.addMessageHandler(Class<E> type,
MessageHandler<? super E> handler)
Registers a
MessageHandler that receives the messages of
the specified type . |
protected MessageHandler<Object> |
DemuxingIoHandler.findHandler(Class type) |
<E> MessageHandler<? super E> |
DemuxingIoHandler.getMessageHandler(Class<E> type)
Returns the
MessageHandler which is registered to process
the specified type . |
<E> MessageHandler<? super E> |
DemuxingIoHandler.removeMessageHandler(Class<E> type)
Deregisters a
MessageHandler that receives the messages of
the specified type . |
Modifier and Type | Method and Description |
---|---|
Map<Class,MessageHandler> |
DemuxingIoHandler.getMessageHandlerMap()
Returns the
Map which contains all messageType-MessageHandler
pairs registered to this handler. |
Modifier and Type | Method and Description |
---|---|
<E> MessageHandler<? super E> |
DemuxingIoHandler.addMessageHandler(Class<E> type,
MessageHandler<? super E> handler)
Registers a
MessageHandler that receives the messages of
the specified type . |
Copyright © 2004–2015 Apache MINA Project. All rights reserved.