Searched refs:mIdRegistry (Results 1 – 1 of 1) sorted by relevance
45 private final IdRegistry mIdRegistry = new IdRegistry(MIN_CONNECTION_ID, MAX_CONNECTION_ID, 2); field in SocketTunnelClient181 mIdRegistry.lock(connectionId); in onServerOpenAck()191 mIdRegistry.release(connectionId); // Release sever to client stream. in onServerClose()198 mIdRegistry.release(connectionId); // Release sever to client stream. in onServerClose()269 int id = mIdRegistry.generate(); // id generated locked for server to client stream. in clientOpenConnection()289 assert mIdRegistry.isLocked(mId); in run()295 mIdRegistry.release(mId); // Unlock for client to server stream. in run()