Пример #1
0
 @Override
 public void toData(DataOutput out) throws IOException {
   // System.out.println("BEGIN AdminResponse toData");
   super.toData(out);
   out.writeInt(this.msgId);
   // System.out.println("END AdminResponse toData");
 }
Пример #2
0
 @Override
 public void fromData(DataInput in) throws IOException, ClassNotFoundException {
   super.fromData(in);
   this.msgId = in.readInt();
 }