code: public synchronized void applyToAll(SocketOperator op) throws Exception {
          Enumeration keys = allSockets.keys();
          while (keys.hasMoreElements()) {
              SocketBox myBox = (SocketBox) keys.nextElement();
              op.operate(myBox);
          }
      }
docs: Apply the suplied callback to all socketBoxes.