Subversion Repositories SmartDukaan

Rev

Rev 3430 | Rev 3530 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3430 Rev 3499
Line 48... Line 48...
48
 
48
 
49
    public long getLastEmailProcessedTimestamp() throws org.apache.thrift.TException;
49
    public long getLastEmailProcessedTimestamp() throws org.apache.thrift.TException;
50
 
50
 
51
    public void updateLastEmailProcessedTimestamp(long timestamp) throws org.apache.thrift.TException;
51
    public void updateLastEmailProcessedTimestamp(long timestamp) throws org.apache.thrift.TException;
52
 
52
 
-
 
53
    public void processCODTxn(long transactionId) throws org.apache.thrift.TException;
-
 
54
 
53
  }
55
  }
54
 
56
 
55
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
57
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
56
 
58
 
57
    public void getTickets(SearchFilter searchFilter, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getTickets_call> resultHandler) throws org.apache.thrift.TException;
59
    public void getTickets(SearchFilter searchFilter, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getTickets_call> resultHandler) throws org.apache.thrift.TException;
Line 78... Line 80...
78
 
80
 
79
    public void getLastEmailProcessedTimestamp(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getLastEmailProcessedTimestamp_call> resultHandler) throws org.apache.thrift.TException;
81
    public void getLastEmailProcessedTimestamp(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getLastEmailProcessedTimestamp_call> resultHandler) throws org.apache.thrift.TException;
80
 
82
 
81
    public void updateLastEmailProcessedTimestamp(long timestamp, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateLastEmailProcessedTimestamp_call> resultHandler) throws org.apache.thrift.TException;
83
    public void updateLastEmailProcessedTimestamp(long timestamp, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateLastEmailProcessedTimestamp_call> resultHandler) throws org.apache.thrift.TException;
82
 
84
 
-
 
85
    public void processCODTxn(long transactionId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.processCODTxn_call> resultHandler) throws org.apache.thrift.TException;
-
 
86
 
83
  }
87
  }
84
 
88
 
85
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
89
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
86
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
90
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
87
      public Factory() {}
91
      public Factory() {}
Line 389... Line 393...
389
      updateLastEmailProcessedTimestamp_result result = new updateLastEmailProcessedTimestamp_result();
393
      updateLastEmailProcessedTimestamp_result result = new updateLastEmailProcessedTimestamp_result();
390
      receiveBase(result, "updateLastEmailProcessedTimestamp");
394
      receiveBase(result, "updateLastEmailProcessedTimestamp");
391
      return;
395
      return;
392
    }
396
    }
393
 
397
 
-
 
398
    public void processCODTxn(long transactionId) throws org.apache.thrift.TException
-
 
399
    {
-
 
400
      send_processCODTxn(transactionId);
-
 
401
      recv_processCODTxn();
-
 
402
    }
-
 
403
 
-
 
404
    public void send_processCODTxn(long transactionId) throws org.apache.thrift.TException
-
 
405
    {
-
 
406
      processCODTxn_args args = new processCODTxn_args();
-
 
407
      args.setTransactionId(transactionId);
-
 
408
      sendBase("processCODTxn", args);
-
 
409
    }
-
 
410
 
-
 
411
    public void recv_processCODTxn() throws org.apache.thrift.TException
-
 
412
    {
-
 
413
      processCODTxn_result result = new processCODTxn_result();
-
 
414
      receiveBase(result, "processCODTxn");
-
 
415
      return;
-
 
416
    }
-
 
417
 
394
  }
418
  }
395
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
419
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
396
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
420
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
397
      private org.apache.thrift.async.TAsyncClientManager clientManager;
421
      private org.apache.thrift.async.TAsyncClientManager clientManager;
398
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
422
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 829... Line 853...
829
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
853
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
830
        (new Client(prot)).recv_updateLastEmailProcessedTimestamp();
854
        (new Client(prot)).recv_updateLastEmailProcessedTimestamp();
831
      }
855
      }
832
    }
856
    }
833
 
857
 
-
 
858
    public void processCODTxn(long transactionId, org.apache.thrift.async.AsyncMethodCallback<processCODTxn_call> resultHandler) throws org.apache.thrift.TException {
-
 
859
      checkReady();
-
 
860
      processCODTxn_call method_call = new processCODTxn_call(transactionId, resultHandler, this, ___protocolFactory, ___transport);
-
 
861
      this.___currentMethod = method_call;
-
 
862
      ___manager.call(method_call);
-
 
863
    }
-
 
864
 
-
 
865
    public static class processCODTxn_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
866
      private long transactionId;
-
 
867
      public processCODTxn_call(long transactionId, org.apache.thrift.async.AsyncMethodCallback<processCODTxn_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
-
 
868
        super(client, protocolFactory, transport, resultHandler, false);
-
 
869
        this.transactionId = transactionId;
-
 
870
      }
-
 
871
 
-
 
872
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
873
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("processCODTxn", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
874
        processCODTxn_args args = new processCODTxn_args();
-
 
875
        args.setTransactionId(transactionId);
-
 
876
        args.write(prot);
-
 
877
        prot.writeMessageEnd();
-
 
878
      }
-
 
879
 
-
 
880
      public void getResult() throws org.apache.thrift.TException {
-
 
881
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
882
          throw new IllegalStateException("Method call not finished!");
-
 
883
        }
-
 
884
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
885
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
886
        (new Client(prot)).recv_processCODTxn();
-
 
887
      }
-
 
888
    }
-
 
889
 
834
  }
890
  }
835
 
891
 
836
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
892
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
837
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
893
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
838
    public Processor(I iface) {
894
    public Processor(I iface) {
Line 855... Line 911...
855
      processMap.put("updatePasswordForAgent", new updatePasswordForAgent());
911
      processMap.put("updatePasswordForAgent", new updatePasswordForAgent());
856
      processMap.put("getRoleNamesForAgent", new getRoleNamesForAgent());
912
      processMap.put("getRoleNamesForAgent", new getRoleNamesForAgent());
857
      processMap.put("getPermissionsForRoleName", new getPermissionsForRoleName());
913
      processMap.put("getPermissionsForRoleName", new getPermissionsForRoleName());
858
      processMap.put("getLastEmailProcessedTimestamp", new getLastEmailProcessedTimestamp());
914
      processMap.put("getLastEmailProcessedTimestamp", new getLastEmailProcessedTimestamp());
859
      processMap.put("updateLastEmailProcessedTimestamp", new updateLastEmailProcessedTimestamp());
915
      processMap.put("updateLastEmailProcessedTimestamp", new updateLastEmailProcessedTimestamp());
-
 
916
      processMap.put("processCODTxn", new processCODTxn());
860
      return processMap;
917
      return processMap;
861
    }
918
    }
862
 
919
 
863
    private static class getTickets<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getTickets_args> {
920
    private static class getTickets<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getTickets_args> {
864
      public getTickets() {
921
      public getTickets() {
Line 1069... Line 1126...
1069
        iface.updateLastEmailProcessedTimestamp(args.timestamp);
1126
        iface.updateLastEmailProcessedTimestamp(args.timestamp);
1070
        return result;
1127
        return result;
1071
      }
1128
      }
1072
    }
1129
    }
1073
 
1130
 
-
 
1131
    private static class processCODTxn<I extends Iface> extends org.apache.thrift.ProcessFunction<I, processCODTxn_args> {
-
 
1132
      public processCODTxn() {
-
 
1133
        super("processCODTxn");
-
 
1134
      }
-
 
1135
 
-
 
1136
      protected processCODTxn_args getEmptyArgsInstance() {
-
 
1137
        return new processCODTxn_args();
-
 
1138
      }
-
 
1139
 
-
 
1140
      protected processCODTxn_result getResult(I iface, processCODTxn_args args) throws org.apache.thrift.TException {
-
 
1141
        processCODTxn_result result = new processCODTxn_result();
-
 
1142
        iface.processCODTxn(args.transactionId);
-
 
1143
        return result;
-
 
1144
      }
-
 
1145
    }
-
 
1146
 
1074
  }
1147
  }
1075
 
1148
 
1076
  public static class getTickets_args implements org.apache.thrift.TBase<getTickets_args, getTickets_args._Fields>, java.io.Serializable, Cloneable   {
1149
  public static class getTickets_args implements org.apache.thrift.TBase<getTickets_args, getTickets_args._Fields>, java.io.Serializable, Cloneable   {
1077
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getTickets_args");
1150
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getTickets_args");
1078
 
1151
 
Line 8696... Line 8769...
8696
      boolean first = true;
8769
      boolean first = true;
8697
 
8770
 
8698
      sb.append(")");
8771
      sb.append(")");
8699
      return sb.toString();
8772
      return sb.toString();
8700
    }
8773
    }
-
 
8774
 
-
 
8775
    public void validate() throws org.apache.thrift.TException {
-
 
8776
      // check for required fields
-
 
8777
    }
-
 
8778
 
-
 
8779
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
8780
      try {
-
 
8781
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
8782
      } catch (org.apache.thrift.TException te) {
-
 
8783
        throw new java.io.IOException(te);
-
 
8784
      }
-
 
8785
    }
-
 
8786
 
-
 
8787
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
8788
      try {
-
 
8789
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
8790
      } catch (org.apache.thrift.TException te) {
-
 
8791
        throw new java.io.IOException(te);
-
 
8792
      }
-
 
8793
    }
-
 
8794
 
-
 
8795
  }
-
 
8796
 
-
 
8797
  public static class processCODTxn_args implements org.apache.thrift.TBase<processCODTxn_args, processCODTxn_args._Fields>, java.io.Serializable, Cloneable   {
-
 
8798
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("processCODTxn_args");
-
 
8799
 
-
 
8800
    private static final org.apache.thrift.protocol.TField TRANSACTION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("transactionId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
8801
 
-
 
8802
    private long transactionId; // required
-
 
8803
 
-
 
8804
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
8805
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
8806
      TRANSACTION_ID((short)1, "transactionId");
-
 
8807
 
-
 
8808
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
8809
 
-
 
8810
      static {
-
 
8811
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
8812
          byName.put(field.getFieldName(), field);
-
 
8813
        }
-
 
8814
      }
-
 
8815
 
-
 
8816
      /**
-
 
8817
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
8818
       */
-
 
8819
      public static _Fields findByThriftId(int fieldId) {
-
 
8820
        switch(fieldId) {
-
 
8821
          case 1: // TRANSACTION_ID
-
 
8822
            return TRANSACTION_ID;
-
 
8823
          default:
-
 
8824
            return null;
-
 
8825
        }
-
 
8826
      }
-
 
8827
 
-
 
8828
      /**
-
 
8829
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
8830
       * if it is not found.
-
 
8831
       */
-
 
8832
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
8833
        _Fields fields = findByThriftId(fieldId);
-
 
8834
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
8835
        return fields;
-
 
8836
      }
-
 
8837
 
-
 
8838
      /**
-
 
8839
       * Find the _Fields constant that matches name, or null if its not found.
-
 
8840
       */
-
 
8841
      public static _Fields findByName(String name) {
-
 
8842
        return byName.get(name);
-
 
8843
      }
-
 
8844
 
-
 
8845
      private final short _thriftId;
-
 
8846
      private final String _fieldName;
-
 
8847
 
-
 
8848
      _Fields(short thriftId, String fieldName) {
-
 
8849
        _thriftId = thriftId;
-
 
8850
        _fieldName = fieldName;
-
 
8851
      }
-
 
8852
 
-
 
8853
      public short getThriftFieldId() {
-
 
8854
        return _thriftId;
-
 
8855
      }
-
 
8856
 
-
 
8857
      public String getFieldName() {
-
 
8858
        return _fieldName;
-
 
8859
      }
-
 
8860
    }
-
 
8861
 
-
 
8862
    // isset id assignments
-
 
8863
    private static final int __TRANSACTIONID_ISSET_ID = 0;
-
 
8864
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
8865
 
-
 
8866
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
8867
    static {
-
 
8868
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
8869
      tmpMap.put(_Fields.TRANSACTION_ID, new org.apache.thrift.meta_data.FieldMetaData("transactionId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
8870
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
8871
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
8872
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(processCODTxn_args.class, metaDataMap);
-
 
8873
    }
-
 
8874
 
-
 
8875
    public processCODTxn_args() {
-
 
8876
    }
-
 
8877
 
-
 
8878
    public processCODTxn_args(
-
 
8879
      long transactionId)
-
 
8880
    {
-
 
8881
      this();
-
 
8882
      this.transactionId = transactionId;
-
 
8883
      setTransactionIdIsSet(true);
-
 
8884
    }
-
 
8885
 
-
 
8886
    /**
-
 
8887
     * Performs a deep copy on <i>other</i>.
-
 
8888
     */
-
 
8889
    public processCODTxn_args(processCODTxn_args other) {
-
 
8890
      __isset_bit_vector.clear();
-
 
8891
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
8892
      this.transactionId = other.transactionId;
-
 
8893
    }
-
 
8894
 
-
 
8895
    public processCODTxn_args deepCopy() {
-
 
8896
      return new processCODTxn_args(this);
-
 
8897
    }
-
 
8898
 
-
 
8899
    @Override
-
 
8900
    public void clear() {
-
 
8901
      setTransactionIdIsSet(false);
-
 
8902
      this.transactionId = 0;
-
 
8903
    }
-
 
8904
 
-
 
8905
    public long getTransactionId() {
-
 
8906
      return this.transactionId;
-
 
8907
    }
-
 
8908
 
-
 
8909
    public void setTransactionId(long transactionId) {
-
 
8910
      this.transactionId = transactionId;
-
 
8911
      setTransactionIdIsSet(true);
-
 
8912
    }
-
 
8913
 
-
 
8914
    public void unsetTransactionId() {
-
 
8915
      __isset_bit_vector.clear(__TRANSACTIONID_ISSET_ID);
-
 
8916
    }
-
 
8917
 
-
 
8918
    /** Returns true if field transactionId is set (has been assigned a value) and false otherwise */
-
 
8919
    public boolean isSetTransactionId() {
-
 
8920
      return __isset_bit_vector.get(__TRANSACTIONID_ISSET_ID);
-
 
8921
    }
-
 
8922
 
-
 
8923
    public void setTransactionIdIsSet(boolean value) {
-
 
8924
      __isset_bit_vector.set(__TRANSACTIONID_ISSET_ID, value);
-
 
8925
    }
-
 
8926
 
-
 
8927
    public void setFieldValue(_Fields field, Object value) {
-
 
8928
      switch (field) {
-
 
8929
      case TRANSACTION_ID:
-
 
8930
        if (value == null) {
-
 
8931
          unsetTransactionId();
-
 
8932
        } else {
-
 
8933
          setTransactionId((Long)value);
-
 
8934
        }
-
 
8935
        break;
-
 
8936
 
-
 
8937
      }
-
 
8938
    }
-
 
8939
 
-
 
8940
    public Object getFieldValue(_Fields field) {
-
 
8941
      switch (field) {
-
 
8942
      case TRANSACTION_ID:
-
 
8943
        return Long.valueOf(getTransactionId());
-
 
8944
 
-
 
8945
      }
-
 
8946
      throw new IllegalStateException();
-
 
8947
    }
-
 
8948
 
-
 
8949
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
8950
    public boolean isSet(_Fields field) {
-
 
8951
      if (field == null) {
-
 
8952
        throw new IllegalArgumentException();
-
 
8953
      }
-
 
8954
 
-
 
8955
      switch (field) {
-
 
8956
      case TRANSACTION_ID:
-
 
8957
        return isSetTransactionId();
-
 
8958
      }
-
 
8959
      throw new IllegalStateException();
-
 
8960
    }
-
 
8961
 
-
 
8962
    @Override
-
 
8963
    public boolean equals(Object that) {
-
 
8964
      if (that == null)
-
 
8965
        return false;
-
 
8966
      if (that instanceof processCODTxn_args)
-
 
8967
        return this.equals((processCODTxn_args)that);
-
 
8968
      return false;
-
 
8969
    }
-
 
8970
 
-
 
8971
    public boolean equals(processCODTxn_args that) {
-
 
8972
      if (that == null)
-
 
8973
        return false;
-
 
8974
 
-
 
8975
      boolean this_present_transactionId = true;
-
 
8976
      boolean that_present_transactionId = true;
-
 
8977
      if (this_present_transactionId || that_present_transactionId) {
-
 
8978
        if (!(this_present_transactionId && that_present_transactionId))
-
 
8979
          return false;
-
 
8980
        if (this.transactionId != that.transactionId)
-
 
8981
          return false;
-
 
8982
      }
-
 
8983
 
-
 
8984
      return true;
-
 
8985
    }
-
 
8986
 
-
 
8987
    @Override
-
 
8988
    public int hashCode() {
-
 
8989
      return 0;
-
 
8990
    }
-
 
8991
 
-
 
8992
    public int compareTo(processCODTxn_args other) {
-
 
8993
      if (!getClass().equals(other.getClass())) {
-
 
8994
        return getClass().getName().compareTo(other.getClass().getName());
-
 
8995
      }
-
 
8996
 
-
 
8997
      int lastComparison = 0;
-
 
8998
      processCODTxn_args typedOther = (processCODTxn_args)other;
-
 
8999
 
-
 
9000
      lastComparison = Boolean.valueOf(isSetTransactionId()).compareTo(typedOther.isSetTransactionId());
-
 
9001
      if (lastComparison != 0) {
-
 
9002
        return lastComparison;
-
 
9003
      }
-
 
9004
      if (isSetTransactionId()) {
-
 
9005
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.transactionId, typedOther.transactionId);
-
 
9006
        if (lastComparison != 0) {
-
 
9007
          return lastComparison;
-
 
9008
        }
-
 
9009
      }
-
 
9010
      return 0;
-
 
9011
    }
-
 
9012
 
-
 
9013
    public _Fields fieldForId(int fieldId) {
-
 
9014
      return _Fields.findByThriftId(fieldId);
-
 
9015
    }
-
 
9016
 
-
 
9017
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
9018
      org.apache.thrift.protocol.TField field;
-
 
9019
      iprot.readStructBegin();
-
 
9020
      while (true)
-
 
9021
      {
-
 
9022
        field = iprot.readFieldBegin();
-
 
9023
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
9024
          break;
-
 
9025
        }
-
 
9026
        switch (field.id) {
-
 
9027
          case 1: // TRANSACTION_ID
-
 
9028
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
9029
              this.transactionId = iprot.readI64();
-
 
9030
              setTransactionIdIsSet(true);
-
 
9031
            } else { 
-
 
9032
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
9033
            }
-
 
9034
            break;
-
 
9035
          default:
-
 
9036
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
9037
        }
-
 
9038
        iprot.readFieldEnd();
-
 
9039
      }
-
 
9040
      iprot.readStructEnd();
-
 
9041
      validate();
-
 
9042
    }
-
 
9043
 
-
 
9044
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
9045
      validate();
-
 
9046
 
-
 
9047
      oprot.writeStructBegin(STRUCT_DESC);
-
 
9048
      oprot.writeFieldBegin(TRANSACTION_ID_FIELD_DESC);
-
 
9049
      oprot.writeI64(this.transactionId);
-
 
9050
      oprot.writeFieldEnd();
-
 
9051
      oprot.writeFieldStop();
-
 
9052
      oprot.writeStructEnd();
-
 
9053
    }
-
 
9054
 
-
 
9055
    @Override
-
 
9056
    public String toString() {
-
 
9057
      StringBuilder sb = new StringBuilder("processCODTxn_args(");
-
 
9058
      boolean first = true;
-
 
9059
 
-
 
9060
      sb.append("transactionId:");
-
 
9061
      sb.append(this.transactionId);
-
 
9062
      first = false;
-
 
9063
      sb.append(")");
-
 
9064
      return sb.toString();
-
 
9065
    }
-
 
9066
 
-
 
9067
    public void validate() throws org.apache.thrift.TException {
-
 
9068
      // check for required fields
-
 
9069
    }
-
 
9070
 
-
 
9071
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
9072
      try {
-
 
9073
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
9074
      } catch (org.apache.thrift.TException te) {
-
 
9075
        throw new java.io.IOException(te);
-
 
9076
      }
-
 
9077
    }
-
 
9078
 
-
 
9079
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
9080
      try {
-
 
9081
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
9082
        __isset_bit_vector = new BitSet(1);
-
 
9083
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
9084
      } catch (org.apache.thrift.TException te) {
-
 
9085
        throw new java.io.IOException(te);
-
 
9086
      }
-
 
9087
    }
-
 
9088
 
-
 
9089
  }
-
 
9090
 
-
 
9091
  public static class processCODTxn_result implements org.apache.thrift.TBase<processCODTxn_result, processCODTxn_result._Fields>, java.io.Serializable, Cloneable   {
-
 
9092
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("processCODTxn_result");
-
 
9093
 
-
 
9094
 
-
 
9095
 
-
 
9096
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
9097
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
9098
;
-
 
9099
 
-
 
9100
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
9101
 
-
 
9102
      static {
-
 
9103
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
9104
          byName.put(field.getFieldName(), field);
-
 
9105
        }
-
 
9106
      }
-
 
9107
 
-
 
9108
      /**
-
 
9109
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
9110
       */
-
 
9111
      public static _Fields findByThriftId(int fieldId) {
-
 
9112
        switch(fieldId) {
-
 
9113
          default:
-
 
9114
            return null;
-
 
9115
        }
-
 
9116
      }
-
 
9117
 
-
 
9118
      /**
-
 
9119
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
9120
       * if it is not found.
-
 
9121
       */
-
 
9122
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
9123
        _Fields fields = findByThriftId(fieldId);
-
 
9124
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
9125
        return fields;
-
 
9126
      }
-
 
9127
 
-
 
9128
      /**
-
 
9129
       * Find the _Fields constant that matches name, or null if its not found.
-
 
9130
       */
-
 
9131
      public static _Fields findByName(String name) {
-
 
9132
        return byName.get(name);
-
 
9133
      }
-
 
9134
 
-
 
9135
      private final short _thriftId;
-
 
9136
      private final String _fieldName;
-
 
9137
 
-
 
9138
      _Fields(short thriftId, String fieldName) {
-
 
9139
        _thriftId = thriftId;
-
 
9140
        _fieldName = fieldName;
-
 
9141
      }
-
 
9142
 
-
 
9143
      public short getThriftFieldId() {
-
 
9144
        return _thriftId;
-
 
9145
      }
-
 
9146
 
-
 
9147
      public String getFieldName() {
-
 
9148
        return _fieldName;
-
 
9149
      }
-
 
9150
    }
-
 
9151
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
9152
    static {
-
 
9153
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
9154
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
9155
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(processCODTxn_result.class, metaDataMap);
-
 
9156
    }
-
 
9157
 
-
 
9158
    public processCODTxn_result() {
-
 
9159
    }
-
 
9160
 
-
 
9161
    /**
-
 
9162
     * Performs a deep copy on <i>other</i>.
-
 
9163
     */
-
 
9164
    public processCODTxn_result(processCODTxn_result other) {
-
 
9165
    }
-
 
9166
 
-
 
9167
    public processCODTxn_result deepCopy() {
-
 
9168
      return new processCODTxn_result(this);
-
 
9169
    }
-
 
9170
 
-
 
9171
    @Override
-
 
9172
    public void clear() {
-
 
9173
    }
-
 
9174
 
-
 
9175
    public void setFieldValue(_Fields field, Object value) {
-
 
9176
      switch (field) {
-
 
9177
      }
-
 
9178
    }
-
 
9179
 
-
 
9180
    public Object getFieldValue(_Fields field) {
-
 
9181
      switch (field) {
-
 
9182
      }
-
 
9183
      throw new IllegalStateException();
-
 
9184
    }
-
 
9185
 
-
 
9186
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
9187
    public boolean isSet(_Fields field) {
-
 
9188
      if (field == null) {
-
 
9189
        throw new IllegalArgumentException();
-
 
9190
      }
-
 
9191
 
-
 
9192
      switch (field) {
-
 
9193
      }
-
 
9194
      throw new IllegalStateException();
-
 
9195
    }
-
 
9196
 
-
 
9197
    @Override
-
 
9198
    public boolean equals(Object that) {
-
 
9199
      if (that == null)
-
 
9200
        return false;
-
 
9201
      if (that instanceof processCODTxn_result)
-
 
9202
        return this.equals((processCODTxn_result)that);
-
 
9203
      return false;
-
 
9204
    }
-
 
9205
 
-
 
9206
    public boolean equals(processCODTxn_result that) {
-
 
9207
      if (that == null)
-
 
9208
        return false;
-
 
9209
 
-
 
9210
      return true;
-
 
9211
    }
-
 
9212
 
-
 
9213
    @Override
-
 
9214
    public int hashCode() {
-
 
9215
      return 0;
-
 
9216
    }
-
 
9217
 
-
 
9218
    public int compareTo(processCODTxn_result other) {
-
 
9219
      if (!getClass().equals(other.getClass())) {
-
 
9220
        return getClass().getName().compareTo(other.getClass().getName());
-
 
9221
      }
-
 
9222
 
-
 
9223
      int lastComparison = 0;
-
 
9224
      processCODTxn_result typedOther = (processCODTxn_result)other;
-
 
9225
 
-
 
9226
      return 0;
-
 
9227
    }
-
 
9228
 
-
 
9229
    public _Fields fieldForId(int fieldId) {
-
 
9230
      return _Fields.findByThriftId(fieldId);
-
 
9231
    }
-
 
9232
 
-
 
9233
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
9234
      org.apache.thrift.protocol.TField field;
-
 
9235
      iprot.readStructBegin();
-
 
9236
      while (true)
-
 
9237
      {
-
 
9238
        field = iprot.readFieldBegin();
-
 
9239
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
9240
          break;
-
 
9241
        }
-
 
9242
        switch (field.id) {
-
 
9243
          default:
-
 
9244
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
9245
        }
-
 
9246
        iprot.readFieldEnd();
-
 
9247
      }
-
 
9248
      iprot.readStructEnd();
-
 
9249
      validate();
-
 
9250
    }
-
 
9251
 
-
 
9252
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
9253
      oprot.writeStructBegin(STRUCT_DESC);
-
 
9254
 
-
 
9255
      oprot.writeFieldStop();
-
 
9256
      oprot.writeStructEnd();
-
 
9257
    }
-
 
9258
 
-
 
9259
    @Override
-
 
9260
    public String toString() {
-
 
9261
      StringBuilder sb = new StringBuilder("processCODTxn_result(");
-
 
9262
      boolean first = true;
-
 
9263
 
-
 
9264
      sb.append(")");
-
 
9265
      return sb.toString();
-
 
9266
    }
8701
 
9267
 
8702
    public void validate() throws org.apache.thrift.TException {
9268
    public void validate() throws org.apache.thrift.TException {
8703
      // check for required fields
9269
      // check for required fields
8704
    }
9270
    }
8705
 
9271