Esempio n. 1
0
  @Override
  public void readConstructorParams(DataInput in) throws IOException {
    super.readConstructorParams(in);

    width = in.readInt();
    height = in.readInt();
  }
Esempio n. 2
0
 @Override
 public void writeConstructorParams(DataOutput out) throws IOException {
   super.writeConstructorParams(out);
   out.writeInt(width);
   out.writeInt(height);
 }