@Override
      public MyState read(final DataInput stream) throws IOException {
        return new MyState(stream.readLong(), stream.readUTF());
      }
@Override
      public MyState read(final DataInput stream)