private final TrieParserReader hostTrieReader;
private final byte[] guidWorkspace = new byte[6+512];
private final PoolIdx responsePipeLinePool;
private Selector selector;
private static final Logger logger = LoggerFactory.getLogger(ClientConnectionManager.class);
<BUG>public ClientConnectionManager(int connectionsInBits, int maxPartialResponses) {
connections = new ServiceObjectHolder<ClientConnection>(connectionsInBits, ClientConnection.class, this, false);
hostTrie = new TrieParser(4096,4,false,false);
hostTrieReader = new TrieParserReader();</BUG>
responsePipeLinePool = new PoolIdx(maxPartialResponses); //NOTE: maxPartialResponses should never be greater than response listener count

private final TrieParserReader hostTrieReader;
private final byte[] guidWorkspace = new byte[6+512];
private final PoolIdx responsePipeLinePool;
private Selector selector;
private static final Logger logger = LoggerFactory.getLogger(ClientConnectionManager.class);
public ClientConnectionManager(int connectionsInBits, int maxPartialResponses) {
int maxUsers = 1<<connectionsInBits;
int trieSize = 1024+(16*maxUsers); //TODO: this is a hack
connections = new ServiceObjectHolder<ClientConnection>(connectionsInBits, ClientConnection.class, this, false);
hostTrie = new TrieParser(trieSize, 4, false, false); //TODO: ugent,  first boolean should be true but only false works,  this is a problem because it must be very large for large number of connecions !!!
hostTrieReader = new TrieParserReader();
responsePipeLinePool = new PoolIdx(maxPartialResponses); //NOTE: maxPartialResponses should never be greater than response listener count
