程序包 | 说明 |
---|---|
org.apache.mina.handler.demux |
A handler implementation that helps you implement complex protocols
by splitting messageReceived handlers into multiple sub-handlers.
|
限定符和类型 | 字段和说明 |
---|---|
static MessageHandler<java.lang.Object> |
MessageHandler.NOOP
A
MessageHandler that does nothing. |
限定符和类型 | 方法和说明 |
---|---|
<E> MessageHandler<? super E> |
DemuxingIoHandler.addReceivedMessageHandler(java.lang.Class<E> type,
MessageHandler<? super E> handler)
Registers a
MessageHandler that handles the received messages of
the specified type . |
<E> MessageHandler<? super E> |
DemuxingIoHandler.addSentMessageHandler(java.lang.Class<E> type,
MessageHandler<? super E> handler)
Registers a
MessageHandler that handles the sent messages of the
specified type . |
protected MessageHandler<java.lang.Object> |
DemuxingIoHandler.findReceivedMessageHandler(java.lang.Class<?> type) |
protected MessageHandler<java.lang.Object> |
DemuxingIoHandler.findSentMessageHandler(java.lang.Class<?> type) |
<E> MessageHandler<? super E> |
DemuxingIoHandler.getMessageHandler(java.lang.Class<E> type) |
<E> MessageHandler<? super E> |
DemuxingIoHandler.removeReceivedMessageHandler(java.lang.Class<E> type)
Deregisters a
MessageHandler that handles the received messages
of the specified type . |
<E> MessageHandler<? super E> |
DemuxingIoHandler.removeSentMessageHandler(java.lang.Class<E> type)
Deregisters a
MessageHandler that handles the sent messages of
the specified type . |
限定符和类型 | 方法和说明 |
---|---|
java.util.Map<java.lang.Class<?>,MessageHandler<?>> |
DemuxingIoHandler.getReceivedMessageHandlerMap() |
java.util.Map<java.lang.Class<?>,MessageHandler<?>> |
DemuxingIoHandler.getSentMessageHandlerMap() |
限定符和类型 | 方法和说明 |
---|---|
<E> MessageHandler<? super E> |
DemuxingIoHandler.addReceivedMessageHandler(java.lang.Class<E> type,
MessageHandler<? super E> handler)
Registers a
MessageHandler that handles the received messages of
the specified type . |
<E> MessageHandler<? super E> |
DemuxingIoHandler.addSentMessageHandler(java.lang.Class<E> type,
MessageHandler<? super E> handler)
Registers a
MessageHandler that handles the sent messages of the
specified type . |