public SocketServer(String address, int port) {
    lock = new ReentrantLock();
    connectionId = 0;
    //..
    doSetActive(false);
    setEndPoint(new EndPoint(port, address));
    setConnections(new CopyOnWriteArrayList<ISocketServerConnection>());
    setInitial(false);
  }