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