org.apache.mina.protocol.handler
Interface MessageHandler
public interface MessageHandler
A handler interface that DemuxingProtocolHandler
forwards
messageReceived
events to. You have to register your
handler with the type of message you want to get notified using
DemuxingProtocolHandler.registerMessageType(Class, MessageHandler)
.
- Version:
- $Rev: 210062 $, $Date: 2005-07-11 12:52:38 +0900 $
- Author:
- The Apache Directory Project
NOOP
static final MessageHandler NOOP
- A
MessageHandler
that does nothing. This is usefule when
you want to ignore messages of the specific type silently.
messageReceived
void messageReceived(ProtocolSession session,
Object message)
- Invoked when the specific type of message is received from the
specified
session
.
Copyright © 2004-2005 . All Rights Reserved.