@Override
 protected void readInternal(ObjectDataInput in) throws IOException {
   super.readInternal(in);
   itemId = in.readLong();
   value = in.readData();
 }
Esempio 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);
 }
Esempio n. 4
0
 protected void writeInternal(ObjectDataOutput out) throws IOException {
   super.writeInternal(out);
   out.writeInt(from);
   out.writeInt(to);
 }