public virtual void close(ServerConnectionAdapter sca, bool b)
 {
   int num = b ? 1 : 0;
   lock (this.connectionsLock)
   {
     if (!this.connections.remove((object) sca))
       return;
     System.get_out().println(new StringBuilder().append("Close: ").append((object) sca).toString());
     sca.shutdown(num != 0);
   }
 }
 public virtual void onNewConnection(ServerConnectionAdapter sca)
 {
   this.connectionList.add(sca);
 }
 public virtual void add(ServerConnectionAdapter sca)
 {
   lock (this.connectionsLock)
     this.connections.add((object) sca);
 }