Пример #1
0
  @Override
  protected void deserializeW(PackageInputStreamReader reader) throws ProtocolException {
    super.deserializeW(reader);

    try {
      long tmp_reason_code = reader.readUint32();
      reason_code = Bye_reasonsEnum.createEnumByValue(tmp_reason_code);
      reason_description = reader.readString();
    } catch (Exception e) {
      throw new ProtocolException(e);
    }
  }
Пример #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);
    }
  }