@Override
 protected void readInternal(ObjectDataInput in) throws IOException {
   super.readInternal(in);
   itemId = in.readLong();
   value = in.readData();
 }
Ejemplo n.º 2
0
 protected void readInternal(ObjectDataInput in) throws IOException {
   super.readInternal(in);
   from = in.readInt();
   to = in.readInt();
 }
 @Override
 protected void writeInternal(ObjectDataOutput out) throws IOException {
   super.writeInternal(out);
   out.writeLong(itemId);
   out.writeData(value);
 }
Ejemplo n.º 4
0
 protected void writeInternal(ObjectDataOutput out) throws IOException {
   super.writeInternal(out);
   out.writeInt(from);
   out.writeInt(to);
 }