|
||||||||||
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.addReceivedMessageHandler(Class<E> type,
MessageHandler<? super E> handler)
Registers a MessageHandler that handles the received messages of
the specified type . |
|
|
DemuxingIoHandler.addSentMessageHandler(Class<E> type,
MessageHandler<? super E> handler)
Registers a MessageHandler that handles the sent messages of the
specified type . |
|
protected MessageHandler<Object> |
DemuxingIoHandler.findReceivedMessageHandler(Class<?> type)
|
|
protected MessageHandler<Object> |
DemuxingIoHandler.findSentMessageHandler(Class<?> type)
|
|
|
DemuxingIoHandler.getMessageHandler(Class<E> type)
Returns the MessageHandler which is registered to process
the specified type . |
|
|
DemuxingIoHandler.removeReceivedMessageHandler(Class<E> type)
Deregisters a MessageHandler that handles the received messages
of the specified type . |
|
|
DemuxingIoHandler.removeSentMessageHandler(Class<E> type)
Deregisters a MessageHandler that handles the sent messages of
the specified type . |
Methods in org.apache.mina.handler.demux that return types with arguments of type MessageHandler | |
---|---|
Map<Class<?>,MessageHandler<?>> |
DemuxingIoHandler.getReceivedMessageHandlerMap()
Returns the Map which contains all messageType-MessageHandler
pairs registered to this handler for received messages. |
Map<Class<?>,MessageHandler<?>> |
DemuxingIoHandler.getSentMessageHandlerMap()
Returns the Map which contains all messageType-MessageHandler
pairs registered to this handler for sent messages. |
Methods in org.apache.mina.handler.demux with parameters of type MessageHandler | ||
---|---|---|
|
DemuxingIoHandler.addReceivedMessageHandler(Class<E> type,
MessageHandler<? super E> handler)
Registers a MessageHandler that handles the received messages of
the specified type . |
|
|
DemuxingIoHandler.addSentMessageHandler(Class<E> type,
MessageHandler<? super E> handler)
Registers a MessageHandler that handles the sent messages of the
specified type . |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |