public boolean write(aos.apib.OutStream out, aos.apib.Base o) {
      Churn v = (Churn)o;
      int i = -1;
      while ((i = out.nextField(i, this)) >= 0) {
        switch (i) {
      case 0:
	out.putInt(v.peerID, i, __def.peerID, this);
	break;
        case 3:
          out.writeBaseClasses(o, this);
          break;
        default:
          if (i >= 0 && i <= 3) break;
          out.error("Writer for Churn: illegal field number:"+i);
          return false;
        }
      }
      return true;
    }