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 |
MessageHandler.NOOP
A
MessageHandler that does nothing. |
Modifier and Type | Method and Description |
---|---|
MessageHandler |
DemuxingIoHandler.addMessageHandler(java.lang.Class type,
MessageHandler handler)
Registers a
MessageHandler that receives the messages of
the specified type . |
protected MessageHandler |
DemuxingIoHandler.findHandler(java.lang.Class type) |
MessageHandler |
DemuxingIoHandler.getMessageHandler(java.lang.Class type)
Returns the
MessageHandler which is registered to process
the specified type . |
MessageHandler |
DemuxingIoHandler.removeMessageHandler(java.lang.Class type)
Deregisters a
MessageHandler that receives the messages of
the specified type . |
Modifier and Type | Method and Description |
---|---|
MessageHandler |
DemuxingIoHandler.addMessageHandler(java.lang.Class type,
MessageHandler handler)
Registers a
MessageHandler that receives the messages of
the specified type . |
Copyright © 2004-2019 Apache MINA Project. All Rights Reserved.