Example #1
0
 @Override
 protected void serializeW(PackageOutputStreamWriter writer) throws ProtocolException {
   super.serializeW(writer);
   try {
     writer.writeUint32(reason_code.getValue());
     writer.writeString(reason_description);
   } catch (Exception e) {
     throw new ProtocolException(e);
   }
 }
Example #2
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);
   }
 }