You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by jiangyubao <ji...@gmail.com> on 2007/09/19 04:43:29 UTC
Virtual Blocking Channels for Mina Socket Pipe
The code of IoHandler:
public void messageReceived(IoSession session, Object in) throws Exception
{
ChannelMessage response = (ChannelMessage) in;
Factory.getChannelManager().getChannel(response.getChannelId())
.performCallback(response);
}