|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MessageHandler | |
---|---|
org.apache.mina.handler.demux | A handler implementation that helps you implement complex protocols by splitting messageReceived handlers into multiple sub-handlers. |
Uses of MessageHandler in org.apache.mina.handler.demux |
---|
Fields in org.apache.mina.handler.demux declared as MessageHandler | |
---|---|
static MessageHandler<Object> |
MessageHandler.NOOP
A MessageHandler that does nothing. |
Methods in org.apache.mina.handler.demux that return MessageHandler | ||
---|---|---|
|
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)
|
|
|
DemuxingIoHandler.getMessageHandler(Class<E> type)
Returns the MessageHandler which is registered to process
the specified type . |
|
|
DemuxingIoHandler.removeMessageHandler(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 MessageHandler | |
---|---|
Map<Class,MessageHandler> |
DemuxingIoHandler.getMessageHandlerMap()
Returns the Map which contains all messageType-MessageHandler
pairs registered to this handler. |
Methods in org.apache.mina.handler.demux with parameters of type MessageHandler | ||
---|---|---|
|
DemuxingIoHandler.addMessageHandler(Class<E> type,
MessageHandler<? super E> handler)
Registers a MessageHandler that receives the messages of
the specified type . |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |