Subversion Repositories SmartDukaan

Rev

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

Rev 3530 Rev 3546
Line 1679... Line 1679...
1679
        }
1679
        }
1680
        switch (field.id) {
1680
        switch (field.id) {
1681
          case 0: // SUCCESS
1681
          case 0: // SUCCESS
1682
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
1682
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
1683
              {
1683
              {
1684
                org.apache.thrift.protocol.TList _list8 = iprot.readListBegin();
1684
                org.apache.thrift.protocol.TList _list12 = iprot.readListBegin();
1685
                this.success = new ArrayList<Ticket>(_list8.size);
1685
                this.success = new ArrayList<Ticket>(_list12.size);
1686
                for (int _i9 = 0; _i9 < _list8.size; ++_i9)
1686
                for (int _i13 = 0; _i13 < _list12.size; ++_i13)
1687
                {
1687
                {
1688
                  Ticket _elem10; // required
1688
                  Ticket _elem14; // required
1689
                  _elem10 = new Ticket();
1689
                  _elem14 = new Ticket();
1690
                  _elem10.read(iprot);
1690
                  _elem14.read(iprot);
1691
                  this.success.add(_elem10);
1691
                  this.success.add(_elem14);
1692
                }
1692
                }
1693
                iprot.readListEnd();
1693
                iprot.readListEnd();
1694
              }
1694
              }
1695
            } else { 
1695
            } else { 
1696
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
1696
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 1710... Line 1710...
1710
 
1710
 
1711
      if (this.isSetSuccess()) {
1711
      if (this.isSetSuccess()) {
1712
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
1712
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
1713
        {
1713
        {
1714
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
1714
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
1715
          for (Ticket _iter11 : this.success)
1715
          for (Ticket _iter15 : this.success)
1716
          {
1716
          {
1717
            _iter11.write(oprot);
1717
            _iter15.write(oprot);
1718
          }
1718
          }
1719
          oprot.writeListEnd();
1719
          oprot.writeListEnd();
1720
        }
1720
        }
1721
        oprot.writeFieldEnd();
1721
        oprot.writeFieldEnd();
1722
      }
1722
      }
Line 2210... Line 2210...
2210
        }
2210
        }
2211
        switch (field.id) {
2211
        switch (field.id) {
2212
          case 0: // SUCCESS
2212
          case 0: // SUCCESS
2213
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
2213
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
2214
              {
2214
              {
2215
                org.apache.thrift.protocol.TList _list12 = iprot.readListBegin();
2215
                org.apache.thrift.protocol.TList _list16 = iprot.readListBegin();
2216
                this.success = new ArrayList<Ticket>(_list12.size);
2216
                this.success = new ArrayList<Ticket>(_list16.size);
2217
                for (int _i13 = 0; _i13 < _list12.size; ++_i13)
2217
                for (int _i17 = 0; _i17 < _list16.size; ++_i17)
2218
                {
2218
                {
2219
                  Ticket _elem14; // required
2219
                  Ticket _elem18; // required
2220
                  _elem14 = new Ticket();
2220
                  _elem18 = new Ticket();
2221
                  _elem14.read(iprot);
2221
                  _elem18.read(iprot);
2222
                  this.success.add(_elem14);
2222
                  this.success.add(_elem18);
2223
                }
2223
                }
2224
                iprot.readListEnd();
2224
                iprot.readListEnd();
2225
              }
2225
              }
2226
            } else { 
2226
            } else { 
2227
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2227
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 2241... Line 2241...
2241
 
2241
 
2242
      if (this.isSetSuccess()) {
2242
      if (this.isSetSuccess()) {
2243
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
2243
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
2244
        {
2244
        {
2245
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
2245
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
2246
          for (Ticket _iter15 : this.success)
2246
          for (Ticket _iter19 : this.success)
2247
          {
2247
          {
2248
            _iter15.write(oprot);
2248
            _iter19.write(oprot);
2249
          }
2249
          }
2250
          oprot.writeListEnd();
2250
          oprot.writeListEnd();
2251
        }
2251
        }
2252
        oprot.writeFieldEnd();
2252
        oprot.writeFieldEnd();
2253
      }
2253
      }
Line 4096... Line 4096...
4096
        }
4096
        }
4097
        switch (field.id) {
4097
        switch (field.id) {
4098
          case 0: // SUCCESS
4098
          case 0: // SUCCESS
4099
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
4099
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
4100
              {
4100
              {
4101
                org.apache.thrift.protocol.TList _list16 = iprot.readListBegin();
4101
                org.apache.thrift.protocol.TList _list20 = iprot.readListBegin();
4102
                this.success = new ArrayList<Activity>(_list16.size);
4102
                this.success = new ArrayList<Activity>(_list20.size);
4103
                for (int _i17 = 0; _i17 < _list16.size; ++_i17)
4103
                for (int _i21 = 0; _i21 < _list20.size; ++_i21)
4104
                {
4104
                {
4105
                  Activity _elem18; // required
4105
                  Activity _elem22; // required
4106
                  _elem18 = new Activity();
4106
                  _elem22 = new Activity();
4107
                  _elem18.read(iprot);
4107
                  _elem22.read(iprot);
4108
                  this.success.add(_elem18);
4108
                  this.success.add(_elem22);
4109
                }
4109
                }
4110
                iprot.readListEnd();
4110
                iprot.readListEnd();
4111
              }
4111
              }
4112
            } else { 
4112
            } else { 
4113
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
4113
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 4127... Line 4127...
4127
 
4127
 
4128
      if (this.isSetSuccess()) {
4128
      if (this.isSetSuccess()) {
4129
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
4129
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
4130
        {
4130
        {
4131
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
4131
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
4132
          for (Activity _iter19 : this.success)
4132
          for (Activity _iter23 : this.success)
4133
          {
4133
          {
4134
            _iter19.write(oprot);
4134
            _iter23.write(oprot);
4135
          }
4135
          }
4136
          oprot.writeListEnd();
4136
          oprot.writeListEnd();
4137
        }
4137
        }
4138
        oprot.writeFieldEnd();
4138
        oprot.writeFieldEnd();
4139
      }
4139
      }
Line 5886... Line 5886...
5886
        }
5886
        }
5887
        switch (field.id) {
5887
        switch (field.id) {
5888
          case 0: // SUCCESS
5888
          case 0: // SUCCESS
5889
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
5889
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
5890
              {
5890
              {
5891
                org.apache.thrift.protocol.TList _list20 = iprot.readListBegin();
5891
                org.apache.thrift.protocol.TList _list24 = iprot.readListBegin();
5892
                this.success = new ArrayList<Agent>(_list20.size);
5892
                this.success = new ArrayList<Agent>(_list24.size);
5893
                for (int _i21 = 0; _i21 < _list20.size; ++_i21)
5893
                for (int _i25 = 0; _i25 < _list24.size; ++_i25)
5894
                {
5894
                {
5895
                  Agent _elem22; // required
5895
                  Agent _elem26; // required
5896
                  _elem22 = new Agent();
5896
                  _elem26 = new Agent();
5897
                  _elem22.read(iprot);
5897
                  _elem26.read(iprot);
5898
                  this.success.add(_elem22);
5898
                  this.success.add(_elem26);
5899
                }
5899
                }
5900
                iprot.readListEnd();
5900
                iprot.readListEnd();
5901
              }
5901
              }
5902
            } else { 
5902
            } else { 
5903
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
5903
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 5917... Line 5917...
5917
 
5917
 
5918
      if (this.isSetSuccess()) {
5918
      if (this.isSetSuccess()) {
5919
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
5919
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
5920
        {
5920
        {
5921
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
5921
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
5922
          for (Agent _iter23 : this.success)
5922
          for (Agent _iter27 : this.success)
5923
          {
5923
          {
5924
            _iter23.write(oprot);
5924
            _iter27.write(oprot);
5925
          }
5925
          }
5926
          oprot.writeListEnd();
5926
          oprot.writeListEnd();
5927
        }
5927
        }
5928
        oprot.writeFieldEnd();
5928
        oprot.writeFieldEnd();
5929
      }
5929
      }
Line 7092... Line 7092...
7092
        }
7092
        }
7093
        switch (field.id) {
7093
        switch (field.id) {
7094
          case 0: // SUCCESS
7094
          case 0: // SUCCESS
7095
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
7095
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
7096
              {
7096
              {
7097
                org.apache.thrift.protocol.TList _list24 = iprot.readListBegin();
7097
                org.apache.thrift.protocol.TList _list28 = iprot.readListBegin();
7098
                this.success = new ArrayList<String>(_list24.size);
7098
                this.success = new ArrayList<String>(_list28.size);
7099
                for (int _i25 = 0; _i25 < _list24.size; ++_i25)
7099
                for (int _i29 = 0; _i29 < _list28.size; ++_i29)
7100
                {
7100
                {
7101
                  String _elem26; // required
7101
                  String _elem30; // required
7102
                  _elem26 = iprot.readString();
7102
                  _elem30 = iprot.readString();
7103
                  this.success.add(_elem26);
7103
                  this.success.add(_elem30);
7104
                }
7104
                }
7105
                iprot.readListEnd();
7105
                iprot.readListEnd();
7106
              }
7106
              }
7107
            } else { 
7107
            } else { 
7108
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
7108
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 7122... Line 7122...
7122
 
7122
 
7123
      if (this.isSetSuccess()) {
7123
      if (this.isSetSuccess()) {
7124
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
7124
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
7125
        {
7125
        {
7126
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
7126
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
7127
          for (String _iter27 : this.success)
7127
          for (String _iter31 : this.success)
7128
          {
7128
          {
7129
            oprot.writeString(_iter27);
7129
            oprot.writeString(_iter31);
7130
          }
7130
          }
7131
          oprot.writeListEnd();
7131
          oprot.writeListEnd();
7132
        }
7132
        }
7133
        oprot.writeFieldEnd();
7133
        oprot.writeFieldEnd();
7134
      }
7134
      }
Line 7716... Line 7716...
7716
        }
7716
        }
7717
        switch (field.id) {
7717
        switch (field.id) {
7718
          case 0: // SUCCESS
7718
          case 0: // SUCCESS
7719
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
7719
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
7720
              {
7720
              {
7721
                org.apache.thrift.protocol.TList _list28 = iprot.readListBegin();
7721
                org.apache.thrift.protocol.TList _list32 = iprot.readListBegin();
7722
                this.success = new ArrayList<String>(_list28.size);
7722
                this.success = new ArrayList<String>(_list32.size);
7723
                for (int _i29 = 0; _i29 < _list28.size; ++_i29)
7723
                for (int _i33 = 0; _i33 < _list32.size; ++_i33)
7724
                {
7724
                {
7725
                  String _elem30; // required
7725
                  String _elem34; // required
7726
                  _elem30 = iprot.readString();
7726
                  _elem34 = iprot.readString();
7727
                  this.success.add(_elem30);
7727
                  this.success.add(_elem34);
7728
                }
7728
                }
7729
                iprot.readListEnd();
7729
                iprot.readListEnd();
7730
              }
7730
              }
7731
            } else { 
7731
            } else { 
7732
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
7732
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 7746... Line 7746...
7746
 
7746
 
7747
      if (this.isSetSuccess()) {
7747
      if (this.isSetSuccess()) {
7748
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
7748
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
7749
        {
7749
        {
7750
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
7750
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
7751
          for (String _iter31 : this.success)
7751
          for (String _iter35 : this.success)
7752
          {
7752
          {
7753
            oprot.writeString(_iter31);
7753
            oprot.writeString(_iter35);
7754
          }
7754
          }
7755
          oprot.writeListEnd();
7755
          oprot.writeListEnd();
7756
        }
7756
        }
7757
        oprot.writeFieldEnd();
7757
        oprot.writeFieldEnd();
7758
      }
7758
      }