The code of IoHandler:
public void messageReceived(IoSession session, Object in) throws Exception
{
ChannelMessage response = (ChannelMessage) in;
Factory.getChannelManager().getChannel(response.getChannelId())
.performCallback(response);
}
