## Uses of Interface
org.apache.mina.handler.demux.MessageHandler

- Packages that use MessageHandler
  Package | Description
  --- | ---
  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
    Modifier and Type | Field and Description
    --- | ---
    `static MessageHandler<Object>` | MessageHandler.`NOOP` A `MessageHandler` that does nothing.

    Methods in org.apache.mina.handler.demux that return MessageHandler
    Modifier and Type | Method and Description
    --- | ---
    `<E> MessageHandler<? super E>` | DemuxingIoHandler.`addReceivedMessageHandler(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(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)`
    `<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.`removeReceivedMessageHandler(Class<E> type)` Deregisters a `MessageHandler` that handles the received messages of the specified `type`.
    `<E> MessageHandler<? super E>` | 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
    Modifier and Type | Method and Description
    --- | ---
    `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
    Modifier and Type | Method and Description
    --- | ---
    `<E> MessageHandler<? super E>` | DemuxingIoHandler.`addReceivedMessageHandler(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(Class<E> type, MessageHandler<? super E> handler)` Registers a `MessageHandler` that handles the sent messages of the specified `type`.

Copyright © 2004-2012 Apache MINA Project. All Rights Reserved.