Example #1
0
 @Override
 protected void serializeW(PackageOutputStreamWriter writer) throws ProtocolException {
   super.serializeW(writer);
   try {
     writer.writeUint64(new_mode.getValue());
   } catch (Exception e) {
     throw new ProtocolException(e);
   }
 }
Example #2
0
  @Override
  protected void deserializeW(PackageInputStreamReader reader) throws ProtocolException {
    super.deserializeW(reader);

    try {
      java.math.BigInteger tmp_new_mode = reader.readUint64();
      new_mode = ModesEnum.createEnumByValue(tmp_new_mode);
    } catch (Exception e) {
      throw new ProtocolException(e);
    }
  }