public CommandResult deepCopy() { return new CommandResult(this); }
CommandResult result = new CommandResult(); writer.println(); writer.flush();
/** * Performs a deep copy on <i>other</i>. */ public executeCommand_result(executeCommand_result other) { if (other.isSetSuccess()) { this.success = new CommandResult(other.success); } if (other.isSetCliException()) { this.cliException = new CliThriftException(other.cliException); } }
case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.success = new CommandResult(); struct.success.read(iprot); struct.setSuccessIsSet(true);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, executeCommand_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { struct.success = new CommandResult(); struct.success.read(iprot); struct.setSuccessIsSet(true); } if (incoming.get(1)) { struct.cliException = new CliThriftException(); struct.cliException.read(iprot); struct.setCliExceptionIsSet(true); } } }