Subversion Repositories SmartDukaan

Rev

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

Rev 19912 Rev 19973
Line 1234... Line 1234...
1234
 
1234
 
1235
    public ReturnPickupRequest getReturnPickupRequest(long returnPickupId) throws org.apache.thrift.TException;
1235
    public ReturnPickupRequest getReturnPickupRequest(long returnPickupId) throws org.apache.thrift.TException;
1236
 
1236
 
1237
    public List<PendingStoreOrder> getPendingStoreOrders(long storeId) throws org.apache.thrift.TException;
1237
    public List<PendingStoreOrder> getPendingStoreOrders(long storeId) throws org.apache.thrift.TException;
1238
 
1238
 
-
 
1239
    public SellerInfo getSellerInfo(long sellerId) throws org.apache.thrift.TException;
-
 
1240
 
1239
  }
1241
  }
1240
 
1242
 
1241
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
1243
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
1242
 
1244
 
1243
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
1245
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
Line 1836... Line 1838...
1836
 
1838
 
1837
    public void getReturnPickupRequest(long returnPickupId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReturnPickupRequest_call> resultHandler) throws org.apache.thrift.TException;
1839
    public void getReturnPickupRequest(long returnPickupId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReturnPickupRequest_call> resultHandler) throws org.apache.thrift.TException;
1838
 
1840
 
1839
    public void getPendingStoreOrders(long storeId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getPendingStoreOrders_call> resultHandler) throws org.apache.thrift.TException;
1841
    public void getPendingStoreOrders(long storeId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getPendingStoreOrders_call> resultHandler) throws org.apache.thrift.TException;
1840
 
1842
 
-
 
1843
    public void getSellerInfo(long sellerId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getSellerInfo_call> resultHandler) throws org.apache.thrift.TException;
-
 
1844
 
1841
  }
1845
  }
1842
 
1846
 
1843
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1847
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1844
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1848
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1845
      public Factory() {}
1849
      public Factory() {}
Line 9271... Line 9275...
9271
        return result.success;
9275
        return result.success;
9272
      }
9276
      }
9273
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getPendingStoreOrders failed: unknown result");
9277
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getPendingStoreOrders failed: unknown result");
9274
    }
9278
    }
9275
 
9279
 
-
 
9280
    public SellerInfo getSellerInfo(long sellerId) throws org.apache.thrift.TException
-
 
9281
    {
-
 
9282
      send_getSellerInfo(sellerId);
-
 
9283
      return recv_getSellerInfo();
-
 
9284
    }
-
 
9285
 
-
 
9286
    public void send_getSellerInfo(long sellerId) throws org.apache.thrift.TException
-
 
9287
    {
-
 
9288
      getSellerInfo_args args = new getSellerInfo_args();
-
 
9289
      args.setSellerId(sellerId);
-
 
9290
      sendBase("getSellerInfo", args);
-
 
9291
    }
-
 
9292
 
-
 
9293
    public SellerInfo recv_getSellerInfo() throws org.apache.thrift.TException
-
 
9294
    {
-
 
9295
      getSellerInfo_result result = new getSellerInfo_result();
-
 
9296
      receiveBase(result, "getSellerInfo");
-
 
9297
      if (result.isSetSuccess()) {
-
 
9298
        return result.success;
-
 
9299
      }
-
 
9300
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getSellerInfo failed: unknown result");
-
 
9301
    }
-
 
9302
 
9276
  }
9303
  }
9277
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
9304
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
9278
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
9305
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
9279
      private org.apache.thrift.async.TAsyncClientManager clientManager;
9306
      private org.apache.thrift.async.TAsyncClientManager clientManager;
9280
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
9307
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 19727... Line 19754...
19727
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
19754
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
19728
        return (new Client(prot)).recv_getPendingStoreOrders();
19755
        return (new Client(prot)).recv_getPendingStoreOrders();
19729
      }
19756
      }
19730
    }
19757
    }
19731
 
19758
 
-
 
19759
    public void getSellerInfo(long sellerId, org.apache.thrift.async.AsyncMethodCallback<getSellerInfo_call> resultHandler) throws org.apache.thrift.TException {
-
 
19760
      checkReady();
-
 
19761
      getSellerInfo_call method_call = new getSellerInfo_call(sellerId, resultHandler, this, ___protocolFactory, ___transport);
-
 
19762
      this.___currentMethod = method_call;
-
 
19763
      ___manager.call(method_call);
-
 
19764
    }
-
 
19765
 
-
 
19766
    public static class getSellerInfo_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
19767
      private long sellerId;
-
 
19768
      public getSellerInfo_call(long sellerId, org.apache.thrift.async.AsyncMethodCallback<getSellerInfo_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 {
-
 
19769
        super(client, protocolFactory, transport, resultHandler, false);
-
 
19770
        this.sellerId = sellerId;
-
 
19771
      }
-
 
19772
 
-
 
19773
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
19774
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getSellerInfo", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
19775
        getSellerInfo_args args = new getSellerInfo_args();
-
 
19776
        args.setSellerId(sellerId);
-
 
19777
        args.write(prot);
-
 
19778
        prot.writeMessageEnd();
-
 
19779
      }
-
 
19780
 
-
 
19781
      public SellerInfo getResult() throws org.apache.thrift.TException {
-
 
19782
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
19783
          throw new IllegalStateException("Method call not finished!");
-
 
19784
        }
-
 
19785
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
19786
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
19787
        return (new Client(prot)).recv_getSellerInfo();
-
 
19788
      }
-
 
19789
    }
-
 
19790
 
19732
  }
19791
  }
19733
 
19792
 
19734
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
19793
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
19735
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
19794
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
19736
    public Processor(I iface) {
19795
    public Processor(I iface) {
Line 20039... Line 20098...
20039
      processMap.put("getEligibleReturnOrdersForPickup", new getEligibleReturnOrdersForPickup());
20098
      processMap.put("getEligibleReturnOrdersForPickup", new getEligibleReturnOrdersForPickup());
20040
      processMap.put("validateReturnTransaction", new validateReturnTransaction());
20099
      processMap.put("validateReturnTransaction", new validateReturnTransaction());
20041
      processMap.put("markReturnNotRequiredOrdersProcessed", new markReturnNotRequiredOrdersProcessed());
20100
      processMap.put("markReturnNotRequiredOrdersProcessed", new markReturnNotRequiredOrdersProcessed());
20042
      processMap.put("getReturnPickupRequest", new getReturnPickupRequest());
20101
      processMap.put("getReturnPickupRequest", new getReturnPickupRequest());
20043
      processMap.put("getPendingStoreOrders", new getPendingStoreOrders());
20102
      processMap.put("getPendingStoreOrders", new getPendingStoreOrders());
-
 
20103
      processMap.put("getSellerInfo", new getSellerInfo());
20044
      return processMap;
20104
      return processMap;
20045
    }
20105
    }
20046
 
20106
 
20047
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
20107
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
20048
      public createTransaction() {
20108
      public createTransaction() {
Line 25460... Line 25520...
25460
        result.success = iface.getPendingStoreOrders(args.storeId);
25520
        result.success = iface.getPendingStoreOrders(args.storeId);
25461
        return result;
25521
        return result;
25462
      }
25522
      }
25463
    }
25523
    }
25464
 
25524
 
-
 
25525
    private static class getSellerInfo<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getSellerInfo_args> {
-
 
25526
      public getSellerInfo() {
-
 
25527
        super("getSellerInfo");
-
 
25528
      }
-
 
25529
 
-
 
25530
      protected getSellerInfo_args getEmptyArgsInstance() {
-
 
25531
        return new getSellerInfo_args();
-
 
25532
      }
-
 
25533
 
-
 
25534
      protected getSellerInfo_result getResult(I iface, getSellerInfo_args args) throws org.apache.thrift.TException {
-
 
25535
        getSellerInfo_result result = new getSellerInfo_result();
-
 
25536
        result.success = iface.getSellerInfo(args.sellerId);
-
 
25537
        return result;
-
 
25538
      }
-
 
25539
    }
-
 
25540
 
25465
  }
25541
  }
25466
 
25542
 
25467
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
25543
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
25468
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
25544
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
25469
 
25545
 
Line 33595... Line 33671...
33595
      }
33671
      }
33596
    }
33672
    }
33597
 
33673
 
33598
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
33674
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
33599
      try {
33675
      try {
-
 
33676
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
33677
        __isset_bit_vector = new BitSet(1);
33600
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
33678
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
33601
      } catch (org.apache.thrift.TException te) {
33679
      } catch (org.apache.thrift.TException te) {
33602
        throw new java.io.IOException(te);
33680
        throw new java.io.IOException(te);
33603
      }
33681
      }
33604
    }
33682
    }
Line 38826... Line 38904...
38826
      }
38904
      }
38827
    }
38905
    }
38828
 
38906
 
38829
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
38907
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
38830
      try {
38908
      try {
-
 
38909
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
38910
        __isset_bit_vector = new BitSet(1);
38831
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
38911
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
38832
      } catch (org.apache.thrift.TException te) {
38912
      } catch (org.apache.thrift.TException te) {
38833
        throw new java.io.IOException(te);
38913
        throw new java.io.IOException(te);
38834
      }
38914
      }
38835
    }
38915
    }
Line 49026... Line 49106...
49026
      }
49106
      }
49027
    }
49107
    }
49028
 
49108
 
49029
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
49109
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
49030
      try {
49110
      try {
-
 
49111
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
49112
        __isset_bit_vector = new BitSet(1);
49031
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
49113
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
49032
      } catch (org.apache.thrift.TException te) {
49114
      } catch (org.apache.thrift.TException te) {
49033
        throw new java.io.IOException(te);
49115
        throw new java.io.IOException(te);
49034
      }
49116
      }
49035
    }
49117
    }
Line 49737... Line 49819...
49737
      }
49819
      }
49738
    }
49820
    }
49739
 
49821
 
49740
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
49822
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
49741
      try {
49823
      try {
-
 
49824
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
49825
        __isset_bit_vector = new BitSet(1);
49742
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
49826
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
49743
      } catch (org.apache.thrift.TException te) {
49827
      } catch (org.apache.thrift.TException te) {
49744
        throw new java.io.IOException(te);
49828
        throw new java.io.IOException(te);
49745
      }
49829
      }
49746
    }
49830
    }
Line 53184... Line 53268...
53184
      }
53268
      }
53185
    }
53269
    }
53186
 
53270
 
53187
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
53271
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
53188
      try {
53272
      try {
53189
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
53190
        __isset_bit_vector = new BitSet(1);
-
 
53191
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
53273
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
53192
      } catch (org.apache.thrift.TException te) {
53274
      } catch (org.apache.thrift.TException te) {
53193
        throw new java.io.IOException(te);
53275
        throw new java.io.IOException(te);
53194
      }
53276
      }
53195
    }
53277
    }
Line 60228... Line 60310...
60228
      }
60310
      }
60229
    }
60311
    }
60230
 
60312
 
60231
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
60313
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
60232
      try {
60314
      try {
-
 
60315
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
60316
        __isset_bit_vector = new BitSet(1);
60233
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
60317
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
60234
      } catch (org.apache.thrift.TException te) {
60318
      } catch (org.apache.thrift.TException te) {
60235
        throw new java.io.IOException(te);
60319
        throw new java.io.IOException(te);
60236
      }
60320
      }
60237
    }
60321
    }
Line 61572... Line 61656...
61572
      }
61656
      }
61573
    }
61657
    }
61574
 
61658
 
61575
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
61659
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
61576
      try {
61660
      try {
-
 
61661
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
61662
        __isset_bit_vector = new BitSet(1);
61577
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
61663
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
61578
      } catch (org.apache.thrift.TException te) {
61664
      } catch (org.apache.thrift.TException te) {
61579
        throw new java.io.IOException(te);
61665
        throw new java.io.IOException(te);
61580
      }
61666
      }
61581
    }
61667
    }
Line 62916... Line 63002...
62916
      }
63002
      }
62917
    }
63003
    }
62918
 
63004
 
62919
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
63005
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
62920
      try {
63006
      try {
-
 
63007
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
63008
        __isset_bit_vector = new BitSet(1);
62921
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
63009
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
62922
      } catch (org.apache.thrift.TException te) {
63010
      } catch (org.apache.thrift.TException te) {
62923
        throw new java.io.IOException(te);
63011
        throw new java.io.IOException(te);
62924
      }
63012
      }
62925
    }
63013
    }
Line 63635... Line 63723...
63635
      }
63723
      }
63636
    }
63724
    }
63637
 
63725
 
63638
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
63726
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
63639
      try {
63727
      try {
-
 
63728
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
63729
        __isset_bit_vector = new BitSet(1);
63640
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
63730
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
63641
      } catch (org.apache.thrift.TException te) {
63731
      } catch (org.apache.thrift.TException te) {
63642
        throw new java.io.IOException(te);
63732
        throw new java.io.IOException(te);
63643
      }
63733
      }
63644
    }
63734
    }
Line 64304... Line 64394...
64304
      }
64394
      }
64305
    }
64395
    }
64306
 
64396
 
64307
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
64397
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
64308
      try {
64398
      try {
-
 
64399
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
64400
        __isset_bit_vector = new BitSet(1);
64309
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
64401
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
64310
      } catch (org.apache.thrift.TException te) {
64402
      } catch (org.apache.thrift.TException te) {
64311
        throw new java.io.IOException(te);
64403
        throw new java.io.IOException(te);
64312
      }
64404
      }
64313
    }
64405
    }
Line 67561... Line 67653...
67561
      }
67653
      }
67562
    }
67654
    }
67563
 
67655
 
67564
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
67656
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
67565
      try {
67657
      try {
-
 
67658
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
67659
        __isset_bit_vector = new BitSet(1);
67566
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
67660
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
67567
      } catch (org.apache.thrift.TException te) {
67661
      } catch (org.apache.thrift.TException te) {
67568
        throw new java.io.IOException(te);
67662
        throw new java.io.IOException(te);
67569
      }
67663
      }
67570
    }
67664
    }
Line 68483... Line 68577...
68483
      }
68577
      }
68484
    }
68578
    }
68485
 
68579
 
68486
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
68580
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
68487
      try {
68581
      try {
-
 
68582
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
68583
        __isset_bit_vector = new BitSet(1);
68488
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
68584
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
68489
      } catch (org.apache.thrift.TException te) {
68585
      } catch (org.apache.thrift.TException te) {
68490
        throw new java.io.IOException(te);
68586
        throw new java.io.IOException(te);
68491
      }
68587
      }
68492
    }
68588
    }
Line 70080... Line 70176...
70080
      }
70176
      }
70081
    }
70177
    }
70082
 
70178
 
70083
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
70179
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
70084
      try {
70180
      try {
-
 
70181
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
70182
        __isset_bit_vector = new BitSet(1);
70085
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
70183
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
70086
      } catch (org.apache.thrift.TException te) {
70184
      } catch (org.apache.thrift.TException te) {
70087
        throw new java.io.IOException(te);
70185
        throw new java.io.IOException(te);
70088
      }
70186
      }
70089
    }
70187
    }
Line 72486... Line 72584...
72486
      }
72584
      }
72487
    }
72585
    }
72488
 
72586
 
72489
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
72587
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
72490
      try {
72588
      try {
-
 
72589
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
72590
        __isset_bit_vector = new BitSet(1);
72491
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
72591
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
72492
      } catch (org.apache.thrift.TException te) {
72592
      } catch (org.apache.thrift.TException te) {
72493
        throw new java.io.IOException(te);
72593
        throw new java.io.IOException(te);
72494
      }
72594
      }
72495
    }
72595
    }
Line 72977... Line 73077...
72977
      }
73077
      }
72978
    }
73078
    }
72979
 
73079
 
72980
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
73080
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
72981
      try {
73081
      try {
-
 
73082
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
73083
        __isset_bit_vector = new BitSet(1);
72982
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
73084
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
72983
      } catch (org.apache.thrift.TException te) {
73085
      } catch (org.apache.thrift.TException te) {
72984
        throw new java.io.IOException(te);
73086
        throw new java.io.IOException(te);
72985
      }
73087
      }
72986
    }
73088
    }
Line 73733... Line 73835...
73733
      }
73835
      }
73734
    }
73836
    }
73735
 
73837
 
73736
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
73838
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
73737
      try {
73839
      try {
-
 
73840
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
73841
        __isset_bit_vector = new BitSet(1);
73738
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
73842
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
73739
      } catch (org.apache.thrift.TException te) {
73843
      } catch (org.apache.thrift.TException te) {
73740
        throw new java.io.IOException(te);
73844
        throw new java.io.IOException(te);
73741
      }
73845
      }
73742
    }
73846
    }
Line 74224... Line 74328...
74224
      }
74328
      }
74225
    }
74329
    }
74226
 
74330
 
74227
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
74331
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
74228
      try {
74332
      try {
-
 
74333
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
74334
        __isset_bit_vector = new BitSet(1);
74229
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
74335
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
74230
      } catch (org.apache.thrift.TException te) {
74336
      } catch (org.apache.thrift.TException te) {
74231
        throw new java.io.IOException(te);
74337
        throw new java.io.IOException(te);
74232
      }
74338
      }
74233
    }
74339
    }
Line 76613... Line 76719...
76613
      }
76719
      }
76614
    }
76720
    }
76615
 
76721
 
76616
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
76722
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
76617
      try {
76723
      try {
-
 
76724
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
76725
        __isset_bit_vector = new BitSet(1);
76618
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
76726
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
76619
      } catch (org.apache.thrift.TException te) {
76727
      } catch (org.apache.thrift.TException te) {
76620
        throw new java.io.IOException(te);
76728
        throw new java.io.IOException(te);
76621
      }
76729
      }
76622
    }
76730
    }
Line 81062... Line 81170...
81062
      }
81170
      }
81063
    }
81171
    }
81064
 
81172
 
81065
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
81173
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
81066
      try {
81174
      try {
-
 
81175
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
81176
        __isset_bit_vector = new BitSet(1);
81067
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
81177
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
81068
      } catch (org.apache.thrift.TException te) {
81178
      } catch (org.apache.thrift.TException te) {
81069
        throw new java.io.IOException(te);
81179
        throw new java.io.IOException(te);
81070
      }
81180
      }
81071
    }
81181
    }
Line 84004... Line 84114...
84004
      }
84114
      }
84005
    }
84115
    }
84006
 
84116
 
84007
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
84117
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
84008
      try {
84118
      try {
-
 
84119
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
84120
        __isset_bit_vector = new BitSet(1);
84009
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
84121
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
84010
      } catch (org.apache.thrift.TException te) {
84122
      } catch (org.apache.thrift.TException te) {
84011
        throw new java.io.IOException(te);
84123
        throw new java.io.IOException(te);
84012
      }
84124
      }
84013
    }
84125
    }
Line 87385... Line 87497...
87385
      }
87497
      }
87386
    }
87498
    }
87387
 
87499
 
87388
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
87500
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
87389
      try {
87501
      try {
87390
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
87391
        __isset_bit_vector = new BitSet(1);
-
 
87392
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
87502
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
87393
      } catch (org.apache.thrift.TException te) {
87503
      } catch (org.apache.thrift.TException te) {
87394
        throw new java.io.IOException(te);
87504
        throw new java.io.IOException(te);
87395
      }
87505
      }
87396
    }
87506
    }
Line 90250... Line 90360...
90250
      }
90360
      }
90251
    }
90361
    }
90252
 
90362
 
90253
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
90363
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
90254
      try {
90364
      try {
-
 
90365
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
90366
        __isset_bit_vector = new BitSet(1);
90255
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
90367
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
90256
      } catch (org.apache.thrift.TException te) {
90368
      } catch (org.apache.thrift.TException te) {
90257
        throw new java.io.IOException(te);
90369
        throw new java.io.IOException(te);
90258
      }
90370
      }
90259
    }
90371
    }
Line 91598... Line 91710...
91598
      }
91710
      }
91599
    }
91711
    }
91600
 
91712
 
91601
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
91713
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
91602
      try {
91714
      try {
-
 
91715
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
91716
        __isset_bit_vector = new BitSet(1);
91603
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
91717
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
91604
      } catch (org.apache.thrift.TException te) {
91718
      } catch (org.apache.thrift.TException te) {
91605
        throw new java.io.IOException(te);
91719
        throw new java.io.IOException(te);
91606
      }
91720
      }
91607
    }
91721
    }
Line 116356... Line 116470...
116356
      }
116470
      }
116357
    }
116471
    }
116358
 
116472
 
116359
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
116473
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
116360
      try {
116474
      try {
-
 
116475
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
116476
        __isset_bit_vector = new BitSet(1);
116361
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
116477
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
116362
      } catch (org.apache.thrift.TException te) {
116478
      } catch (org.apache.thrift.TException te) {
116363
        throw new java.io.IOException(te);
116479
        throw new java.io.IOException(te);
116364
      }
116480
      }
116365
    }
116481
    }
Line 121152... Line 121268...
121152
      }
121268
      }
121153
    }
121269
    }
121154
 
121270
 
121155
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
121271
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
121156
      try {
121272
      try {
-
 
121273
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
121274
        __isset_bit_vector = new BitSet(1);
121157
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
121275
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
121158
      } catch (org.apache.thrift.TException te) {
121276
      } catch (org.apache.thrift.TException te) {
121159
        throw new java.io.IOException(te);
121277
        throw new java.io.IOException(te);
121160
      }
121278
      }
121161
    }
121279
    }
Line 208244... Line 208362...
208244
      }
208362
      }
208245
    }
208363
    }
208246
 
208364
 
208247
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
208365
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
208248
      try {
208366
      try {
208249
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
208250
        __isset_bit_vector = new BitSet(1);
-
 
208251
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
208367
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
208252
      } catch (org.apache.thrift.TException te) {
208368
      } catch (org.apache.thrift.TException te) {
208253
        throw new java.io.IOException(te);
208369
        throw new java.io.IOException(te);
208254
      }
208370
      }
208255
    }
208371
    }
Line 239801... Line 239917...
239801
      boolean first = true;
239917
      boolean first = true;
239802
 
239918
 
239803
      sb.append("success:");
239919
      sb.append("success:");
239804
      if (this.success == null) {
239920
      if (this.success == null) {
239805
        sb.append("null");
239921
        sb.append("null");
-
 
239922
      } else {
-
 
239923
        sb.append(this.success);
-
 
239924
      }
-
 
239925
      first = false;
-
 
239926
      sb.append(")");
-
 
239927
      return sb.toString();
-
 
239928
    }
-
 
239929
 
-
 
239930
    public void validate() throws org.apache.thrift.TException {
-
 
239931
      // check for required fields
-
 
239932
    }
-
 
239933
 
-
 
239934
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
239935
      try {
-
 
239936
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
239937
      } catch (org.apache.thrift.TException te) {
-
 
239938
        throw new java.io.IOException(te);
-
 
239939
      }
-
 
239940
    }
-
 
239941
 
-
 
239942
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
239943
      try {
-
 
239944
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
239945
      } catch (org.apache.thrift.TException te) {
-
 
239946
        throw new java.io.IOException(te);
-
 
239947
      }
-
 
239948
    }
-
 
239949
 
-
 
239950
  }
-
 
239951
 
-
 
239952
  public static class getSellerInfo_args implements org.apache.thrift.TBase<getSellerInfo_args, getSellerInfo_args._Fields>, java.io.Serializable, Cloneable   {
-
 
239953
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getSellerInfo_args");
-
 
239954
 
-
 
239955
    private static final org.apache.thrift.protocol.TField SELLER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("sellerId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
239956
 
-
 
239957
    private long sellerId; // required
-
 
239958
 
-
 
239959
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
239960
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
239961
      SELLER_ID((short)1, "sellerId");
-
 
239962
 
-
 
239963
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
239964
 
-
 
239965
      static {
-
 
239966
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
239967
          byName.put(field.getFieldName(), field);
-
 
239968
        }
-
 
239969
      }
-
 
239970
 
-
 
239971
      /**
-
 
239972
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
239973
       */
-
 
239974
      public static _Fields findByThriftId(int fieldId) {
-
 
239975
        switch(fieldId) {
-
 
239976
          case 1: // SELLER_ID
-
 
239977
            return SELLER_ID;
-
 
239978
          default:
-
 
239979
            return null;
-
 
239980
        }
-
 
239981
      }
-
 
239982
 
-
 
239983
      /**
-
 
239984
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
239985
       * if it is not found.
-
 
239986
       */
-
 
239987
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
239988
        _Fields fields = findByThriftId(fieldId);
-
 
239989
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
239990
        return fields;
-
 
239991
      }
-
 
239992
 
-
 
239993
      /**
-
 
239994
       * Find the _Fields constant that matches name, or null if its not found.
-
 
239995
       */
-
 
239996
      public static _Fields findByName(String name) {
-
 
239997
        return byName.get(name);
-
 
239998
      }
-
 
239999
 
-
 
240000
      private final short _thriftId;
-
 
240001
      private final String _fieldName;
-
 
240002
 
-
 
240003
      _Fields(short thriftId, String fieldName) {
-
 
240004
        _thriftId = thriftId;
-
 
240005
        _fieldName = fieldName;
-
 
240006
      }
-
 
240007
 
-
 
240008
      public short getThriftFieldId() {
-
 
240009
        return _thriftId;
-
 
240010
      }
-
 
240011
 
-
 
240012
      public String getFieldName() {
-
 
240013
        return _fieldName;
-
 
240014
      }
-
 
240015
    }
-
 
240016
 
-
 
240017
    // isset id assignments
-
 
240018
    private static final int __SELLERID_ISSET_ID = 0;
-
 
240019
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
240020
 
-
 
240021
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
240022
    static {
-
 
240023
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
240024
      tmpMap.put(_Fields.SELLER_ID, new org.apache.thrift.meta_data.FieldMetaData("sellerId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
240025
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
240026
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
240027
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getSellerInfo_args.class, metaDataMap);
-
 
240028
    }
-
 
240029
 
-
 
240030
    public getSellerInfo_args() {
-
 
240031
    }
-
 
240032
 
-
 
240033
    public getSellerInfo_args(
-
 
240034
      long sellerId)
-
 
240035
    {
-
 
240036
      this();
-
 
240037
      this.sellerId = sellerId;
-
 
240038
      setSellerIdIsSet(true);
-
 
240039
    }
-
 
240040
 
-
 
240041
    /**
-
 
240042
     * Performs a deep copy on <i>other</i>.
-
 
240043
     */
-
 
240044
    public getSellerInfo_args(getSellerInfo_args other) {
-
 
240045
      __isset_bit_vector.clear();
-
 
240046
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
240047
      this.sellerId = other.sellerId;
-
 
240048
    }
-
 
240049
 
-
 
240050
    public getSellerInfo_args deepCopy() {
-
 
240051
      return new getSellerInfo_args(this);
-
 
240052
    }
-
 
240053
 
-
 
240054
    @Override
-
 
240055
    public void clear() {
-
 
240056
      setSellerIdIsSet(false);
-
 
240057
      this.sellerId = 0;
-
 
240058
    }
-
 
240059
 
-
 
240060
    public long getSellerId() {
-
 
240061
      return this.sellerId;
-
 
240062
    }
-
 
240063
 
-
 
240064
    public void setSellerId(long sellerId) {
-
 
240065
      this.sellerId = sellerId;
-
 
240066
      setSellerIdIsSet(true);
-
 
240067
    }
-
 
240068
 
-
 
240069
    public void unsetSellerId() {
-
 
240070
      __isset_bit_vector.clear(__SELLERID_ISSET_ID);
-
 
240071
    }
-
 
240072
 
-
 
240073
    /** Returns true if field sellerId is set (has been assigned a value) and false otherwise */
-
 
240074
    public boolean isSetSellerId() {
-
 
240075
      return __isset_bit_vector.get(__SELLERID_ISSET_ID);
-
 
240076
    }
-
 
240077
 
-
 
240078
    public void setSellerIdIsSet(boolean value) {
-
 
240079
      __isset_bit_vector.set(__SELLERID_ISSET_ID, value);
-
 
240080
    }
-
 
240081
 
-
 
240082
    public void setFieldValue(_Fields field, Object value) {
-
 
240083
      switch (field) {
-
 
240084
      case SELLER_ID:
-
 
240085
        if (value == null) {
-
 
240086
          unsetSellerId();
-
 
240087
        } else {
-
 
240088
          setSellerId((Long)value);
-
 
240089
        }
-
 
240090
        break;
-
 
240091
 
-
 
240092
      }
-
 
240093
    }
-
 
240094
 
-
 
240095
    public Object getFieldValue(_Fields field) {
-
 
240096
      switch (field) {
-
 
240097
      case SELLER_ID:
-
 
240098
        return Long.valueOf(getSellerId());
-
 
240099
 
-
 
240100
      }
-
 
240101
      throw new IllegalStateException();
-
 
240102
    }
-
 
240103
 
-
 
240104
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
240105
    public boolean isSet(_Fields field) {
-
 
240106
      if (field == null) {
-
 
240107
        throw new IllegalArgumentException();
-
 
240108
      }
-
 
240109
 
-
 
240110
      switch (field) {
-
 
240111
      case SELLER_ID:
-
 
240112
        return isSetSellerId();
-
 
240113
      }
-
 
240114
      throw new IllegalStateException();
-
 
240115
    }
-
 
240116
 
-
 
240117
    @Override
-
 
240118
    public boolean equals(Object that) {
-
 
240119
      if (that == null)
-
 
240120
        return false;
-
 
240121
      if (that instanceof getSellerInfo_args)
-
 
240122
        return this.equals((getSellerInfo_args)that);
-
 
240123
      return false;
-
 
240124
    }
-
 
240125
 
-
 
240126
    public boolean equals(getSellerInfo_args that) {
-
 
240127
      if (that == null)
-
 
240128
        return false;
-
 
240129
 
-
 
240130
      boolean this_present_sellerId = true;
-
 
240131
      boolean that_present_sellerId = true;
-
 
240132
      if (this_present_sellerId || that_present_sellerId) {
-
 
240133
        if (!(this_present_sellerId && that_present_sellerId))
-
 
240134
          return false;
-
 
240135
        if (this.sellerId != that.sellerId)
-
 
240136
          return false;
-
 
240137
      }
-
 
240138
 
-
 
240139
      return true;
-
 
240140
    }
-
 
240141
 
-
 
240142
    @Override
-
 
240143
    public int hashCode() {
-
 
240144
      return 0;
-
 
240145
    }
-
 
240146
 
-
 
240147
    public int compareTo(getSellerInfo_args other) {
-
 
240148
      if (!getClass().equals(other.getClass())) {
-
 
240149
        return getClass().getName().compareTo(other.getClass().getName());
-
 
240150
      }
-
 
240151
 
-
 
240152
      int lastComparison = 0;
-
 
240153
      getSellerInfo_args typedOther = (getSellerInfo_args)other;
-
 
240154
 
-
 
240155
      lastComparison = Boolean.valueOf(isSetSellerId()).compareTo(typedOther.isSetSellerId());
-
 
240156
      if (lastComparison != 0) {
-
 
240157
        return lastComparison;
-
 
240158
      }
-
 
240159
      if (isSetSellerId()) {
-
 
240160
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sellerId, typedOther.sellerId);
-
 
240161
        if (lastComparison != 0) {
-
 
240162
          return lastComparison;
-
 
240163
        }
-
 
240164
      }
-
 
240165
      return 0;
-
 
240166
    }
-
 
240167
 
-
 
240168
    public _Fields fieldForId(int fieldId) {
-
 
240169
      return _Fields.findByThriftId(fieldId);
-
 
240170
    }
-
 
240171
 
-
 
240172
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
240173
      org.apache.thrift.protocol.TField field;
-
 
240174
      iprot.readStructBegin();
-
 
240175
      while (true)
-
 
240176
      {
-
 
240177
        field = iprot.readFieldBegin();
-
 
240178
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
240179
          break;
-
 
240180
        }
-
 
240181
        switch (field.id) {
-
 
240182
          case 1: // SELLER_ID
-
 
240183
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
240184
              this.sellerId = iprot.readI64();
-
 
240185
              setSellerIdIsSet(true);
-
 
240186
            } else { 
-
 
240187
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
240188
            }
-
 
240189
            break;
-
 
240190
          default:
-
 
240191
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
240192
        }
-
 
240193
        iprot.readFieldEnd();
-
 
240194
      }
-
 
240195
      iprot.readStructEnd();
-
 
240196
      validate();
-
 
240197
    }
-
 
240198
 
-
 
240199
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
240200
      validate();
-
 
240201
 
-
 
240202
      oprot.writeStructBegin(STRUCT_DESC);
-
 
240203
      oprot.writeFieldBegin(SELLER_ID_FIELD_DESC);
-
 
240204
      oprot.writeI64(this.sellerId);
-
 
240205
      oprot.writeFieldEnd();
-
 
240206
      oprot.writeFieldStop();
-
 
240207
      oprot.writeStructEnd();
-
 
240208
    }
-
 
240209
 
-
 
240210
    @Override
-
 
240211
    public String toString() {
-
 
240212
      StringBuilder sb = new StringBuilder("getSellerInfo_args(");
-
 
240213
      boolean first = true;
-
 
240214
 
-
 
240215
      sb.append("sellerId:");
-
 
240216
      sb.append(this.sellerId);
-
 
240217
      first = false;
-
 
240218
      sb.append(")");
-
 
240219
      return sb.toString();
-
 
240220
    }
-
 
240221
 
-
 
240222
    public void validate() throws org.apache.thrift.TException {
-
 
240223
      // check for required fields
-
 
240224
    }
-
 
240225
 
-
 
240226
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
240227
      try {
-
 
240228
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
240229
      } catch (org.apache.thrift.TException te) {
-
 
240230
        throw new java.io.IOException(te);
-
 
240231
      }
-
 
240232
    }
-
 
240233
 
-
 
240234
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
240235
      try {
-
 
240236
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
240237
        __isset_bit_vector = new BitSet(1);
-
 
240238
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
240239
      } catch (org.apache.thrift.TException te) {
-
 
240240
        throw new java.io.IOException(te);
-
 
240241
      }
-
 
240242
    }
-
 
240243
 
-
 
240244
  }
-
 
240245
 
-
 
240246
  public static class getSellerInfo_result implements org.apache.thrift.TBase<getSellerInfo_result, getSellerInfo_result._Fields>, java.io.Serializable, Cloneable   {
-
 
240247
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getSellerInfo_result");
-
 
240248
 
-
 
240249
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0);
-
 
240250
 
-
 
240251
    private SellerInfo success; // required
-
 
240252
 
-
 
240253
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
240254
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
240255
      SUCCESS((short)0, "success");
-
 
240256
 
-
 
240257
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
240258
 
-
 
240259
      static {
-
 
240260
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
240261
          byName.put(field.getFieldName(), field);
-
 
240262
        }
-
 
240263
      }
-
 
240264
 
-
 
240265
      /**
-
 
240266
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
240267
       */
-
 
240268
      public static _Fields findByThriftId(int fieldId) {
-
 
240269
        switch(fieldId) {
-
 
240270
          case 0: // SUCCESS
-
 
240271
            return SUCCESS;
-
 
240272
          default:
-
 
240273
            return null;
-
 
240274
        }
-
 
240275
      }
-
 
240276
 
-
 
240277
      /**
-
 
240278
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
240279
       * if it is not found.
-
 
240280
       */
-
 
240281
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
240282
        _Fields fields = findByThriftId(fieldId);
-
 
240283
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
240284
        return fields;
-
 
240285
      }
-
 
240286
 
-
 
240287
      /**
-
 
240288
       * Find the _Fields constant that matches name, or null if its not found.
-
 
240289
       */
-
 
240290
      public static _Fields findByName(String name) {
-
 
240291
        return byName.get(name);
-
 
240292
      }
-
 
240293
 
-
 
240294
      private final short _thriftId;
-
 
240295
      private final String _fieldName;
-
 
240296
 
-
 
240297
      _Fields(short thriftId, String fieldName) {
-
 
240298
        _thriftId = thriftId;
-
 
240299
        _fieldName = fieldName;
-
 
240300
      }
-
 
240301
 
-
 
240302
      public short getThriftFieldId() {
-
 
240303
        return _thriftId;
-
 
240304
      }
-
 
240305
 
-
 
240306
      public String getFieldName() {
-
 
240307
        return _fieldName;
-
 
240308
      }
-
 
240309
    }
-
 
240310
 
-
 
240311
    // isset id assignments
-
 
240312
 
-
 
240313
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
240314
    static {
-
 
240315
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
240316
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
240317
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, SellerInfo.class)));
-
 
240318
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
240319
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getSellerInfo_result.class, metaDataMap);
-
 
240320
    }
-
 
240321
 
-
 
240322
    public getSellerInfo_result() {
-
 
240323
    }
-
 
240324
 
-
 
240325
    public getSellerInfo_result(
-
 
240326
      SellerInfo success)
-
 
240327
    {
-
 
240328
      this();
-
 
240329
      this.success = success;
-
 
240330
    }
-
 
240331
 
-
 
240332
    /**
-
 
240333
     * Performs a deep copy on <i>other</i>.
-
 
240334
     */
-
 
240335
    public getSellerInfo_result(getSellerInfo_result other) {
-
 
240336
      if (other.isSetSuccess()) {
-
 
240337
        this.success = new SellerInfo(other.success);
-
 
240338
      }
-
 
240339
    }
-
 
240340
 
-
 
240341
    public getSellerInfo_result deepCopy() {
-
 
240342
      return new getSellerInfo_result(this);
-
 
240343
    }
-
 
240344
 
-
 
240345
    @Override
-
 
240346
    public void clear() {
-
 
240347
      this.success = null;
-
 
240348
    }
-
 
240349
 
-
 
240350
    public SellerInfo getSuccess() {
-
 
240351
      return this.success;
-
 
240352
    }
-
 
240353
 
-
 
240354
    public void setSuccess(SellerInfo success) {
-
 
240355
      this.success = success;
-
 
240356
    }
-
 
240357
 
-
 
240358
    public void unsetSuccess() {
-
 
240359
      this.success = null;
-
 
240360
    }
-
 
240361
 
-
 
240362
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
240363
    public boolean isSetSuccess() {
-
 
240364
      return this.success != null;
-
 
240365
    }
-
 
240366
 
-
 
240367
    public void setSuccessIsSet(boolean value) {
-
 
240368
      if (!value) {
-
 
240369
        this.success = null;
-
 
240370
      }
-
 
240371
    }
-
 
240372
 
-
 
240373
    public void setFieldValue(_Fields field, Object value) {
-
 
240374
      switch (field) {
-
 
240375
      case SUCCESS:
-
 
240376
        if (value == null) {
-
 
240377
          unsetSuccess();
-
 
240378
        } else {
-
 
240379
          setSuccess((SellerInfo)value);
-
 
240380
        }
-
 
240381
        break;
-
 
240382
 
-
 
240383
      }
-
 
240384
    }
-
 
240385
 
-
 
240386
    public Object getFieldValue(_Fields field) {
-
 
240387
      switch (field) {
-
 
240388
      case SUCCESS:
-
 
240389
        return getSuccess();
-
 
240390
 
-
 
240391
      }
-
 
240392
      throw new IllegalStateException();
-
 
240393
    }
-
 
240394
 
-
 
240395
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
240396
    public boolean isSet(_Fields field) {
-
 
240397
      if (field == null) {
-
 
240398
        throw new IllegalArgumentException();
-
 
240399
      }
-
 
240400
 
-
 
240401
      switch (field) {
-
 
240402
      case SUCCESS:
-
 
240403
        return isSetSuccess();
-
 
240404
      }
-
 
240405
      throw new IllegalStateException();
-
 
240406
    }
-
 
240407
 
-
 
240408
    @Override
-
 
240409
    public boolean equals(Object that) {
-
 
240410
      if (that == null)
-
 
240411
        return false;
-
 
240412
      if (that instanceof getSellerInfo_result)
-
 
240413
        return this.equals((getSellerInfo_result)that);
-
 
240414
      return false;
-
 
240415
    }
-
 
240416
 
-
 
240417
    public boolean equals(getSellerInfo_result that) {
-
 
240418
      if (that == null)
-
 
240419
        return false;
-
 
240420
 
-
 
240421
      boolean this_present_success = true && this.isSetSuccess();
-
 
240422
      boolean that_present_success = true && that.isSetSuccess();
-
 
240423
      if (this_present_success || that_present_success) {
-
 
240424
        if (!(this_present_success && that_present_success))
-
 
240425
          return false;
-
 
240426
        if (!this.success.equals(that.success))
-
 
240427
          return false;
-
 
240428
      }
-
 
240429
 
-
 
240430
      return true;
-
 
240431
    }
-
 
240432
 
-
 
240433
    @Override
-
 
240434
    public int hashCode() {
-
 
240435
      return 0;
-
 
240436
    }
-
 
240437
 
-
 
240438
    public int compareTo(getSellerInfo_result other) {
-
 
240439
      if (!getClass().equals(other.getClass())) {
-
 
240440
        return getClass().getName().compareTo(other.getClass().getName());
-
 
240441
      }
-
 
240442
 
-
 
240443
      int lastComparison = 0;
-
 
240444
      getSellerInfo_result typedOther = (getSellerInfo_result)other;
-
 
240445
 
-
 
240446
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
240447
      if (lastComparison != 0) {
-
 
240448
        return lastComparison;
-
 
240449
      }
-
 
240450
      if (isSetSuccess()) {
-
 
240451
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
240452
        if (lastComparison != 0) {
-
 
240453
          return lastComparison;
-
 
240454
        }
-
 
240455
      }
-
 
240456
      return 0;
-
 
240457
    }
-
 
240458
 
-
 
240459
    public _Fields fieldForId(int fieldId) {
-
 
240460
      return _Fields.findByThriftId(fieldId);
-
 
240461
    }
-
 
240462
 
-
 
240463
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
240464
      org.apache.thrift.protocol.TField field;
-
 
240465
      iprot.readStructBegin();
-
 
240466
      while (true)
-
 
240467
      {
-
 
240468
        field = iprot.readFieldBegin();
-
 
240469
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
240470
          break;
-
 
240471
        }
-
 
240472
        switch (field.id) {
-
 
240473
          case 0: // SUCCESS
-
 
240474
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
240475
              this.success = new SellerInfo();
-
 
240476
              this.success.read(iprot);
-
 
240477
            } else { 
-
 
240478
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
240479
            }
-
 
240480
            break;
-
 
240481
          default:
-
 
240482
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
240483
        }
-
 
240484
        iprot.readFieldEnd();
-
 
240485
      }
-
 
240486
      iprot.readStructEnd();
-
 
240487
      validate();
-
 
240488
    }
-
 
240489
 
-
 
240490
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
240491
      oprot.writeStructBegin(STRUCT_DESC);
-
 
240492
 
-
 
240493
      if (this.isSetSuccess()) {
-
 
240494
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
240495
        this.success.write(oprot);
-
 
240496
        oprot.writeFieldEnd();
-
 
240497
      }
-
 
240498
      oprot.writeFieldStop();
-
 
240499
      oprot.writeStructEnd();
-
 
240500
    }
-
 
240501
 
-
 
240502
    @Override
-
 
240503
    public String toString() {
-
 
240504
      StringBuilder sb = new StringBuilder("getSellerInfo_result(");
-
 
240505
      boolean first = true;
-
 
240506
 
-
 
240507
      sb.append("success:");
-
 
240508
      if (this.success == null) {
-
 
240509
        sb.append("null");
239806
      } else {
240510
      } else {
239807
        sb.append(this.success);
240511
        sb.append(this.success);
239808
      }
240512
      }
239809
      first = false;
240513
      first = false;
239810
      sb.append(")");
240514
      sb.append(")");