out.writeUTF(nodeId);
out.writeInt(nodeId);
   public void write(DataOutputStream out) throws Exception   {      out.writeUTF(nodeId);            out.writeInt(queueStats.size());            Iterator iter = queueStats.iterator();      while (iter.hasNext())      {         QueueStats stats = (QueueStats)iter.next();                  stats.write(out);      }   }