Exemple #1
0
 @Override
 public void writeTo(DataOutput output) throws IOException {
   output.writeBoolean(isScheduled);
   output.writeString(state);
   output.writeString(step);
   output.writeLong(startTime);
   output.writeLong(endTime);
   output.writeInt(progressRate);
 }
 @Override
 public void writeTo(DataOutput output) throws IOException {
   output.writeString(nodeId);
   output.writeBoolean(isRequest);
   output.writeInt(servicePort);
 }