public class NullMessageHandler extends Object implements MessageHandler
Constructor and Description |
---|
NullMessageHandler(Trace trace) |
Modifier and Type | Method and Description |
---|---|
void |
connectionDied(Connection connection,
Throwable reason)
Cope with connection death.
|
void |
processMessage(Connection connection,
Object message)
Process an incoming message from a connection by complaining to the log
if we have configured to talk to the log.
|
public NullMessageHandler(Trace trace)
public void connectionDied(Connection connection, Throwable reason)
connectionDied
in interface MessageHandler
connection
- The connection that has just died.reason
- A possible indication why the connection went away.public void processMessage(Connection connection, Object message)
processMessage
in interface MessageHandler
connection
- The connection upon which the message arrived.message
- The incoming message.Copyright © 2017. All rights reserved.