switchboard.putObject(id, obj, sleepRandom(5000));
switchboard.putObject(id, obj, processingTime);
  protected void processObjects() throws RemoteException {    int numProcessed = 0;    NumberedObject obj = null;    while (!timeToDie) {      try {	obj = switchboard.nextObject(id);	if (obj == null) {	  if (!timeToDie) {	    synchronized (dieSynch) {	      try { dieSynch.wait(nextObjectInterval); }	      catch (InterruptedException ie) {}	    }	  }	  continue;	}	Object processed = null;	try { processed = process(obj.get()); }	catch (RemoteException re) {	  System.err.println(className +			     ": warning: error processing object No. " +			     obj.number() + " (" + re + ")");	  processed = null;	}	if (processed != null) {	  obj.setProcessed(true);	  obj.set(processed);	}	switchboard.putObject(id, obj, sleepRandom(5000));	numProcessed++;      }      catch (RemoteException re) {	registered = false;	System.err.println(className + ": switchboard must have gone down (" +			   re + "); " + "\n\twill attempt to re-register");	reRegister();	System.err.println(className + ": successfully re-registered");      }    }  }