selectorHandler.setInet(InetAddress.getByName(getHost()));
}
controller.setSelectorHandler(selectorHandler);
selectorHandler.setSelectionKeyHandler(new DefaultSelectionKeyHandler());
DefaultProtocolChainInstanceHandler instanceHandler
= new DefaultProtocolChainInstanceHandler()
{
private ConcurrentLinkedQueue<ProtocolChain>
protocolChains = new ConcurrentLinkedQueue<ProtocolChain>();
@Override