Subversion Repositories SmartDukaan

Rev

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

Rev 21963 Rev 22359
Line 47... Line 47...
47
 
47
 
48
    public long addAddressForUser(long userId, Address address, boolean setDefault) throws UserContextException, org.apache.thrift.TException;
48
    public long addAddressForUser(long userId, Address address, boolean setDefault) throws UserContextException, org.apache.thrift.TException;
49
 
49
 
50
    public boolean removeAddressForUser(long userid, long addressId) throws UserContextException, org.apache.thrift.TException;
50
    public boolean removeAddressForUser(long userid, long addressId) throws UserContextException, org.apache.thrift.TException;
51
 
51
 
-
 
52
    public boolean updateAddress(Address address) throws UserContextException, org.apache.thrift.TException;
-
 
53
 
52
    public boolean setUserAsLoggedIn(long userId, long timestamp) throws UserContextException, org.apache.thrift.TException;
54
    public boolean setUserAsLoggedIn(long userId, long timestamp) throws UserContextException, org.apache.thrift.TException;
53
 
55
 
54
    public boolean setUserAsLoggedOut(long userid, long timestamp) throws UserContextException, org.apache.thrift.TException;
56
    public boolean setUserAsLoggedOut(long userid, long timestamp) throws UserContextException, org.apache.thrift.TException;
55
 
57
 
56
    public boolean setDefaultAddress(long userid, long addressId) throws UserContextException, org.apache.thrift.TException;
58
    public boolean setDefaultAddress(long userid, long addressId) throws UserContextException, org.apache.thrift.TException;
Line 414... Line 416...
414
 
416
 
415
    public void addAddressForUser(long userId, Address address, boolean setDefault, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addAddressForUser_call> resultHandler) throws org.apache.thrift.TException;
417
    public void addAddressForUser(long userId, Address address, boolean setDefault, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addAddressForUser_call> resultHandler) throws org.apache.thrift.TException;
416
 
418
 
417
    public void removeAddressForUser(long userid, long addressId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.removeAddressForUser_call> resultHandler) throws org.apache.thrift.TException;
419
    public void removeAddressForUser(long userid, long addressId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.removeAddressForUser_call> resultHandler) throws org.apache.thrift.TException;
418
 
420
 
-
 
421
    public void updateAddress(Address address, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateAddress_call> resultHandler) throws org.apache.thrift.TException;
-
 
422
 
419
    public void setUserAsLoggedIn(long userId, long timestamp, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.setUserAsLoggedIn_call> resultHandler) throws org.apache.thrift.TException;
423
    public void setUserAsLoggedIn(long userId, long timestamp, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.setUserAsLoggedIn_call> resultHandler) throws org.apache.thrift.TException;
420
 
424
 
421
    public void setUserAsLoggedOut(long userid, long timestamp, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.setUserAsLoggedOut_call> resultHandler) throws org.apache.thrift.TException;
425
    public void setUserAsLoggedOut(long userid, long timestamp, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.setUserAsLoggedOut_call> resultHandler) throws org.apache.thrift.TException;
422
 
426
 
423
    public void setDefaultAddress(long userid, long addressId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.setDefaultAddress_call> resultHandler) throws org.apache.thrift.TException;
427
    public void setDefaultAddress(long userid, long addressId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.setDefaultAddress_call> resultHandler) throws org.apache.thrift.TException;
Line 892... Line 896...
892
        throw result.ucx;
896
        throw result.ucx;
893
      }
897
      }
894
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "removeAddressForUser failed: unknown result");
898
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "removeAddressForUser failed: unknown result");
895
    }
899
    }
896
 
900
 
-
 
901
    public boolean updateAddress(Address address) throws UserContextException, org.apache.thrift.TException
-
 
902
    {
-
 
903
      send_updateAddress(address);
-
 
904
      return recv_updateAddress();
-
 
905
    }
-
 
906
 
-
 
907
    public void send_updateAddress(Address address) throws org.apache.thrift.TException
-
 
908
    {
-
 
909
      updateAddress_args args = new updateAddress_args();
-
 
910
      args.setAddress(address);
-
 
911
      sendBase("updateAddress", args);
-
 
912
    }
-
 
913
 
-
 
914
    public boolean recv_updateAddress() throws UserContextException, org.apache.thrift.TException
-
 
915
    {
-
 
916
      updateAddress_result result = new updateAddress_result();
-
 
917
      receiveBase(result, "updateAddress");
-
 
918
      if (result.isSetSuccess()) {
-
 
919
        return result.success;
-
 
920
      }
-
 
921
      if (result.ucx != null) {
-
 
922
        throw result.ucx;
-
 
923
      }
-
 
924
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "updateAddress failed: unknown result");
-
 
925
    }
-
 
926
 
897
    public boolean setUserAsLoggedIn(long userId, long timestamp) throws UserContextException, org.apache.thrift.TException
927
    public boolean setUserAsLoggedIn(long userId, long timestamp) throws UserContextException, org.apache.thrift.TException
898
    {
928
    {
899
      send_setUserAsLoggedIn(userId, timestamp);
929
      send_setUserAsLoggedIn(userId, timestamp);
900
      return recv_setUserAsLoggedIn();
930
      return recv_setUserAsLoggedIn();
901
    }
931
    }
Line 3358... Line 3388...
3358
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
3388
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
3359
        return (new Client(prot)).recv_removeAddressForUser();
3389
        return (new Client(prot)).recv_removeAddressForUser();
3360
      }
3390
      }
3361
    }
3391
    }
3362
 
3392
 
-
 
3393
    public void updateAddress(Address address, org.apache.thrift.async.AsyncMethodCallback<updateAddress_call> resultHandler) throws org.apache.thrift.TException {
-
 
3394
      checkReady();
-
 
3395
      updateAddress_call method_call = new updateAddress_call(address, resultHandler, this, ___protocolFactory, ___transport);
-
 
3396
      this.___currentMethod = method_call;
-
 
3397
      ___manager.call(method_call);
-
 
3398
    }
-
 
3399
 
-
 
3400
    public static class updateAddress_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
3401
      private Address address;
-
 
3402
      public updateAddress_call(Address address, org.apache.thrift.async.AsyncMethodCallback<updateAddress_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 {
-
 
3403
        super(client, protocolFactory, transport, resultHandler, false);
-
 
3404
        this.address = address;
-
 
3405
      }
-
 
3406
 
-
 
3407
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
3408
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updateAddress", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
3409
        updateAddress_args args = new updateAddress_args();
-
 
3410
        args.setAddress(address);
-
 
3411
        args.write(prot);
-
 
3412
        prot.writeMessageEnd();
-
 
3413
      }
-
 
3414
 
-
 
3415
      public boolean getResult() throws UserContextException, org.apache.thrift.TException {
-
 
3416
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
3417
          throw new IllegalStateException("Method call not finished!");
-
 
3418
        }
-
 
3419
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
3420
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
3421
        return (new Client(prot)).recv_updateAddress();
-
 
3422
      }
-
 
3423
    }
-
 
3424
 
3363
    public void setUserAsLoggedIn(long userId, long timestamp, org.apache.thrift.async.AsyncMethodCallback<setUserAsLoggedIn_call> resultHandler) throws org.apache.thrift.TException {
3425
    public void setUserAsLoggedIn(long userId, long timestamp, org.apache.thrift.async.AsyncMethodCallback<setUserAsLoggedIn_call> resultHandler) throws org.apache.thrift.TException {
3364
      checkReady();
3426
      checkReady();
3365
      setUserAsLoggedIn_call method_call = new setUserAsLoggedIn_call(userId, timestamp, resultHandler, this, ___protocolFactory, ___transport);
3427
      setUserAsLoggedIn_call method_call = new setUserAsLoggedIn_call(userId, timestamp, resultHandler, this, ___protocolFactory, ___transport);
3366
      this.___currentMethod = method_call;
3428
      this.___currentMethod = method_call;
3367
      ___manager.call(method_call);
3429
      ___manager.call(method_call);
Line 6253... Line 6315...
6253
      processMap.put("updateUser", new updateUser());
6315
      processMap.put("updateUser", new updateUser());
6254
      processMap.put("authenticateUser", new authenticateUser());
6316
      processMap.put("authenticateUser", new authenticateUser());
6255
      processMap.put("userExists", new userExists());
6317
      processMap.put("userExists", new userExists());
6256
      processMap.put("addAddressForUser", new addAddressForUser());
6318
      processMap.put("addAddressForUser", new addAddressForUser());
6257
      processMap.put("removeAddressForUser", new removeAddressForUser());
6319
      processMap.put("removeAddressForUser", new removeAddressForUser());
-
 
6320
      processMap.put("updateAddress", new updateAddress());
6258
      processMap.put("setUserAsLoggedIn", new setUserAsLoggedIn());
6321
      processMap.put("setUserAsLoggedIn", new setUserAsLoggedIn());
6259
      processMap.put("setUserAsLoggedOut", new setUserAsLoggedOut());
6322
      processMap.put("setUserAsLoggedOut", new setUserAsLoggedOut());
6260
      processMap.put("setDefaultAddress", new setDefaultAddress());
6323
      processMap.put("setDefaultAddress", new setDefaultAddress());
6261
      processMap.put("updatePassword", new updatePassword());
6324
      processMap.put("updatePassword", new updatePassword());
6262
      processMap.put("forgotPassword", new forgotPassword());
6325
      processMap.put("forgotPassword", new forgotPassword());
Line 6562... Line 6625...
6562
        }
6625
        }
6563
        return result;
6626
        return result;
6564
      }
6627
      }
6565
    }
6628
    }
6566
 
6629
 
-
 
6630
    private static class updateAddress<I extends Iface> extends org.apache.thrift.ProcessFunction<I, updateAddress_args> {
-
 
6631
      public updateAddress() {
-
 
6632
        super("updateAddress");
-
 
6633
      }
-
 
6634
 
-
 
6635
      protected updateAddress_args getEmptyArgsInstance() {
-
 
6636
        return new updateAddress_args();
-
 
6637
      }
-
 
6638
 
-
 
6639
      protected updateAddress_result getResult(I iface, updateAddress_args args) throws org.apache.thrift.TException {
-
 
6640
        updateAddress_result result = new updateAddress_result();
-
 
6641
        try {
-
 
6642
          result.success = iface.updateAddress(args.address);
-
 
6643
          result.setSuccessIsSet(true);
-
 
6644
        } catch (UserContextException ucx) {
-
 
6645
          result.ucx = ucx;
-
 
6646
        }
-
 
6647
        return result;
-
 
6648
      }
-
 
6649
    }
-
 
6650
 
6567
    private static class setUserAsLoggedIn<I extends Iface> extends org.apache.thrift.ProcessFunction<I, setUserAsLoggedIn_args> {
6651
    private static class setUserAsLoggedIn<I extends Iface> extends org.apache.thrift.ProcessFunction<I, setUserAsLoggedIn_args> {
6568
      public setUserAsLoggedIn() {
6652
      public setUserAsLoggedIn() {
6569
        super("setUserAsLoggedIn");
6653
        super("setUserAsLoggedIn");
6570
      }
6654
      }
6571
 
6655
 
Line 15895... Line 15979...
15895
      }
15979
      }
15896
    }
15980
    }
15897
 
15981
 
15898
  }
15982
  }
15899
 
15983
 
-
 
15984
  public static class updateAddress_args implements org.apache.thrift.TBase<updateAddress_args, updateAddress_args._Fields>, java.io.Serializable, Cloneable   {
-
 
15985
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateAddress_args");
-
 
15986
 
-
 
15987
    private static final org.apache.thrift.protocol.TField ADDRESS_FIELD_DESC = new org.apache.thrift.protocol.TField("address", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
15988
 
-
 
15989
    private Address address; // required
-
 
15990
 
-
 
15991
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
15992
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
15993
      ADDRESS((short)1, "address");
-
 
15994
 
-
 
15995
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
15996
 
-
 
15997
      static {
-
 
15998
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
15999
          byName.put(field.getFieldName(), field);
-
 
16000
        }
-
 
16001
      }
-
 
16002
 
-
 
16003
      /**
-
 
16004
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
16005
       */
-
 
16006
      public static _Fields findByThriftId(int fieldId) {
-
 
16007
        switch(fieldId) {
-
 
16008
          case 1: // ADDRESS
-
 
16009
            return ADDRESS;
-
 
16010
          default:
-
 
16011
            return null;
-
 
16012
        }
-
 
16013
      }
-
 
16014
 
-
 
16015
      /**
-
 
16016
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
16017
       * if it is not found.
-
 
16018
       */
-
 
16019
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
16020
        _Fields fields = findByThriftId(fieldId);
-
 
16021
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
16022
        return fields;
-
 
16023
      }
-
 
16024
 
-
 
16025
      /**
-
 
16026
       * Find the _Fields constant that matches name, or null if its not found.
-
 
16027
       */
-
 
16028
      public static _Fields findByName(String name) {
-
 
16029
        return byName.get(name);
-
 
16030
      }
-
 
16031
 
-
 
16032
      private final short _thriftId;
-
 
16033
      private final String _fieldName;
-
 
16034
 
-
 
16035
      _Fields(short thriftId, String fieldName) {
-
 
16036
        _thriftId = thriftId;
-
 
16037
        _fieldName = fieldName;
-
 
16038
      }
-
 
16039
 
-
 
16040
      public short getThriftFieldId() {
-
 
16041
        return _thriftId;
-
 
16042
      }
-
 
16043
 
-
 
16044
      public String getFieldName() {
-
 
16045
        return _fieldName;
-
 
16046
      }
-
 
16047
    }
-
 
16048
 
-
 
16049
    // isset id assignments
-
 
16050
 
-
 
16051
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
16052
    static {
-
 
16053
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
16054
      tmpMap.put(_Fields.ADDRESS, new org.apache.thrift.meta_data.FieldMetaData("address", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
16055
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Address.class)));
-
 
16056
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
16057
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateAddress_args.class, metaDataMap);
-
 
16058
    }
-
 
16059
 
-
 
16060
    public updateAddress_args() {
-
 
16061
    }
-
 
16062
 
-
 
16063
    public updateAddress_args(
-
 
16064
      Address address)
-
 
16065
    {
-
 
16066
      this();
-
 
16067
      this.address = address;
-
 
16068
    }
-
 
16069
 
-
 
16070
    /**
-
 
16071
     * Performs a deep copy on <i>other</i>.
-
 
16072
     */
-
 
16073
    public updateAddress_args(updateAddress_args other) {
-
 
16074
      if (other.isSetAddress()) {
-
 
16075
        this.address = new Address(other.address);
-
 
16076
      }
-
 
16077
    }
-
 
16078
 
-
 
16079
    public updateAddress_args deepCopy() {
-
 
16080
      return new updateAddress_args(this);
-
 
16081
    }
-
 
16082
 
-
 
16083
    @Override
-
 
16084
    public void clear() {
-
 
16085
      this.address = null;
-
 
16086
    }
-
 
16087
 
-
 
16088
    public Address getAddress() {
-
 
16089
      return this.address;
-
 
16090
    }
-
 
16091
 
-
 
16092
    public void setAddress(Address address) {
-
 
16093
      this.address = address;
-
 
16094
    }
-
 
16095
 
-
 
16096
    public void unsetAddress() {
-
 
16097
      this.address = null;
-
 
16098
    }
-
 
16099
 
-
 
16100
    /** Returns true if field address is set (has been assigned a value) and false otherwise */
-
 
16101
    public boolean isSetAddress() {
-
 
16102
      return this.address != null;
-
 
16103
    }
-
 
16104
 
-
 
16105
    public void setAddressIsSet(boolean value) {
-
 
16106
      if (!value) {
-
 
16107
        this.address = null;
-
 
16108
      }
-
 
16109
    }
-
 
16110
 
-
 
16111
    public void setFieldValue(_Fields field, Object value) {
-
 
16112
      switch (field) {
-
 
16113
      case ADDRESS:
-
 
16114
        if (value == null) {
-
 
16115
          unsetAddress();
-
 
16116
        } else {
-
 
16117
          setAddress((Address)value);
-
 
16118
        }
-
 
16119
        break;
-
 
16120
 
-
 
16121
      }
-
 
16122
    }
-
 
16123
 
-
 
16124
    public Object getFieldValue(_Fields field) {
-
 
16125
      switch (field) {
-
 
16126
      case ADDRESS:
-
 
16127
        return getAddress();
-
 
16128
 
-
 
16129
      }
-
 
16130
      throw new IllegalStateException();
-
 
16131
    }
-
 
16132
 
-
 
16133
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
16134
    public boolean isSet(_Fields field) {
-
 
16135
      if (field == null) {
-
 
16136
        throw new IllegalArgumentException();
-
 
16137
      }
-
 
16138
 
-
 
16139
      switch (field) {
-
 
16140
      case ADDRESS:
-
 
16141
        return isSetAddress();
-
 
16142
      }
-
 
16143
      throw new IllegalStateException();
-
 
16144
    }
-
 
16145
 
-
 
16146
    @Override
-
 
16147
    public boolean equals(Object that) {
-
 
16148
      if (that == null)
-
 
16149
        return false;
-
 
16150
      if (that instanceof updateAddress_args)
-
 
16151
        return this.equals((updateAddress_args)that);
-
 
16152
      return false;
-
 
16153
    }
-
 
16154
 
-
 
16155
    public boolean equals(updateAddress_args that) {
-
 
16156
      if (that == null)
-
 
16157
        return false;
-
 
16158
 
-
 
16159
      boolean this_present_address = true && this.isSetAddress();
-
 
16160
      boolean that_present_address = true && that.isSetAddress();
-
 
16161
      if (this_present_address || that_present_address) {
-
 
16162
        if (!(this_present_address && that_present_address))
-
 
16163
          return false;
-
 
16164
        if (!this.address.equals(that.address))
-
 
16165
          return false;
-
 
16166
      }
-
 
16167
 
-
 
16168
      return true;
-
 
16169
    }
-
 
16170
 
-
 
16171
    @Override
-
 
16172
    public int hashCode() {
-
 
16173
      return 0;
-
 
16174
    }
-
 
16175
 
-
 
16176
    public int compareTo(updateAddress_args other) {
-
 
16177
      if (!getClass().equals(other.getClass())) {
-
 
16178
        return getClass().getName().compareTo(other.getClass().getName());
-
 
16179
      }
-
 
16180
 
-
 
16181
      int lastComparison = 0;
-
 
16182
      updateAddress_args typedOther = (updateAddress_args)other;
-
 
16183
 
-
 
16184
      lastComparison = Boolean.valueOf(isSetAddress()).compareTo(typedOther.isSetAddress());
-
 
16185
      if (lastComparison != 0) {
-
 
16186
        return lastComparison;
-
 
16187
      }
-
 
16188
      if (isSetAddress()) {
-
 
16189
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.address, typedOther.address);
-
 
16190
        if (lastComparison != 0) {
-
 
16191
          return lastComparison;
-
 
16192
        }
-
 
16193
      }
-
 
16194
      return 0;
-
 
16195
    }
-
 
16196
 
-
 
16197
    public _Fields fieldForId(int fieldId) {
-
 
16198
      return _Fields.findByThriftId(fieldId);
-
 
16199
    }
-
 
16200
 
-
 
16201
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
16202
      org.apache.thrift.protocol.TField field;
-
 
16203
      iprot.readStructBegin();
-
 
16204
      while (true)
-
 
16205
      {
-
 
16206
        field = iprot.readFieldBegin();
-
 
16207
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
16208
          break;
-
 
16209
        }
-
 
16210
        switch (field.id) {
-
 
16211
          case 1: // ADDRESS
-
 
16212
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
16213
              this.address = new Address();
-
 
16214
              this.address.read(iprot);
-
 
16215
            } else { 
-
 
16216
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
16217
            }
-
 
16218
            break;
-
 
16219
          default:
-
 
16220
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
16221
        }
-
 
16222
        iprot.readFieldEnd();
-
 
16223
      }
-
 
16224
      iprot.readStructEnd();
-
 
16225
      validate();
-
 
16226
    }
-
 
16227
 
-
 
16228
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
16229
      validate();
-
 
16230
 
-
 
16231
      oprot.writeStructBegin(STRUCT_DESC);
-
 
16232
      if (this.address != null) {
-
 
16233
        oprot.writeFieldBegin(ADDRESS_FIELD_DESC);
-
 
16234
        this.address.write(oprot);
-
 
16235
        oprot.writeFieldEnd();
-
 
16236
      }
-
 
16237
      oprot.writeFieldStop();
-
 
16238
      oprot.writeStructEnd();
-
 
16239
    }
-
 
16240
 
-
 
16241
    @Override
-
 
16242
    public String toString() {
-
 
16243
      StringBuilder sb = new StringBuilder("updateAddress_args(");
-
 
16244
      boolean first = true;
-
 
16245
 
-
 
16246
      sb.append("address:");
-
 
16247
      if (this.address == null) {
-
 
16248
        sb.append("null");
-
 
16249
      } else {
-
 
16250
        sb.append(this.address);
-
 
16251
      }
-
 
16252
      first = false;
-
 
16253
      sb.append(")");
-
 
16254
      return sb.toString();
-
 
16255
    }
-
 
16256
 
-
 
16257
    public void validate() throws org.apache.thrift.TException {
-
 
16258
      // check for required fields
-
 
16259
    }
-
 
16260
 
-
 
16261
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
16262
      try {
-
 
16263
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
16264
      } catch (org.apache.thrift.TException te) {
-
 
16265
        throw new java.io.IOException(te);
-
 
16266
      }
-
 
16267
    }
-
 
16268
 
-
 
16269
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
16270
      try {
-
 
16271
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
16272
      } catch (org.apache.thrift.TException te) {
-
 
16273
        throw new java.io.IOException(te);
-
 
16274
      }
-
 
16275
    }
-
 
16276
 
-
 
16277
  }
-
 
16278
 
-
 
16279
  public static class updateAddress_result implements org.apache.thrift.TBase<updateAddress_result, updateAddress_result._Fields>, java.io.Serializable, Cloneable   {
-
 
16280
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateAddress_result");
-
 
16281
 
-
 
16282
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0);
-
 
16283
    private static final org.apache.thrift.protocol.TField UCX_FIELD_DESC = new org.apache.thrift.protocol.TField("ucx", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
16284
 
-
 
16285
    private boolean success; // required
-
 
16286
    private UserContextException ucx; // required
-
 
16287
 
-
 
16288
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
16289
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
16290
      SUCCESS((short)0, "success"),
-
 
16291
      UCX((short)1, "ucx");
-
 
16292
 
-
 
16293
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
16294
 
-
 
16295
      static {
-
 
16296
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
16297
          byName.put(field.getFieldName(), field);
-
 
16298
        }
-
 
16299
      }
-
 
16300
 
-
 
16301
      /**
-
 
16302
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
16303
       */
-
 
16304
      public static _Fields findByThriftId(int fieldId) {
-
 
16305
        switch(fieldId) {
-
 
16306
          case 0: // SUCCESS
-
 
16307
            return SUCCESS;
-
 
16308
          case 1: // UCX
-
 
16309
            return UCX;
-
 
16310
          default:
-
 
16311
            return null;
-
 
16312
        }
-
 
16313
      }
-
 
16314
 
-
 
16315
      /**
-
 
16316
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
16317
       * if it is not found.
-
 
16318
       */
-
 
16319
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
16320
        _Fields fields = findByThriftId(fieldId);
-
 
16321
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
16322
        return fields;
-
 
16323
      }
-
 
16324
 
-
 
16325
      /**
-
 
16326
       * Find the _Fields constant that matches name, or null if its not found.
-
 
16327
       */
-
 
16328
      public static _Fields findByName(String name) {
-
 
16329
        return byName.get(name);
-
 
16330
      }
-
 
16331
 
-
 
16332
      private final short _thriftId;
-
 
16333
      private final String _fieldName;
-
 
16334
 
-
 
16335
      _Fields(short thriftId, String fieldName) {
-
 
16336
        _thriftId = thriftId;
-
 
16337
        _fieldName = fieldName;
-
 
16338
      }
-
 
16339
 
-
 
16340
      public short getThriftFieldId() {
-
 
16341
        return _thriftId;
-
 
16342
      }
-
 
16343
 
-
 
16344
      public String getFieldName() {
-
 
16345
        return _fieldName;
-
 
16346
      }
-
 
16347
    }
-
 
16348
 
-
 
16349
    // isset id assignments
-
 
16350
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
16351
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
16352
 
-
 
16353
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
16354
    static {
-
 
16355
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
16356
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
16357
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
16358
      tmpMap.put(_Fields.UCX, new org.apache.thrift.meta_data.FieldMetaData("ucx", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
16359
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
16360
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
16361
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateAddress_result.class, metaDataMap);
-
 
16362
    }
-
 
16363
 
-
 
16364
    public updateAddress_result() {
-
 
16365
    }
-
 
16366
 
-
 
16367
    public updateAddress_result(
-
 
16368
      boolean success,
-
 
16369
      UserContextException ucx)
-
 
16370
    {
-
 
16371
      this();
-
 
16372
      this.success = success;
-
 
16373
      setSuccessIsSet(true);
-
 
16374
      this.ucx = ucx;
-
 
16375
    }
-
 
16376
 
-
 
16377
    /**
-
 
16378
     * Performs a deep copy on <i>other</i>.
-
 
16379
     */
-
 
16380
    public updateAddress_result(updateAddress_result other) {
-
 
16381
      __isset_bit_vector.clear();
-
 
16382
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
16383
      this.success = other.success;
-
 
16384
      if (other.isSetUcx()) {
-
 
16385
        this.ucx = new UserContextException(other.ucx);
-
 
16386
      }
-
 
16387
    }
-
 
16388
 
-
 
16389
    public updateAddress_result deepCopy() {
-
 
16390
      return new updateAddress_result(this);
-
 
16391
    }
-
 
16392
 
-
 
16393
    @Override
-
 
16394
    public void clear() {
-
 
16395
      setSuccessIsSet(false);
-
 
16396
      this.success = false;
-
 
16397
      this.ucx = null;
-
 
16398
    }
-
 
16399
 
-
 
16400
    public boolean isSuccess() {
-
 
16401
      return this.success;
-
 
16402
    }
-
 
16403
 
-
 
16404
    public void setSuccess(boolean success) {
-
 
16405
      this.success = success;
-
 
16406
      setSuccessIsSet(true);
-
 
16407
    }
-
 
16408
 
-
 
16409
    public void unsetSuccess() {
-
 
16410
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
16411
    }
-
 
16412
 
-
 
16413
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
16414
    public boolean isSetSuccess() {
-
 
16415
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
16416
    }
-
 
16417
 
-
 
16418
    public void setSuccessIsSet(boolean value) {
-
 
16419
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
16420
    }
-
 
16421
 
-
 
16422
    public UserContextException getUcx() {
-
 
16423
      return this.ucx;
-
 
16424
    }
-
 
16425
 
-
 
16426
    public void setUcx(UserContextException ucx) {
-
 
16427
      this.ucx = ucx;
-
 
16428
    }
-
 
16429
 
-
 
16430
    public void unsetUcx() {
-
 
16431
      this.ucx = null;
-
 
16432
    }
-
 
16433
 
-
 
16434
    /** Returns true if field ucx is set (has been assigned a value) and false otherwise */
-
 
16435
    public boolean isSetUcx() {
-
 
16436
      return this.ucx != null;
-
 
16437
    }
-
 
16438
 
-
 
16439
    public void setUcxIsSet(boolean value) {
-
 
16440
      if (!value) {
-
 
16441
        this.ucx = null;
-
 
16442
      }
-
 
16443
    }
-
 
16444
 
-
 
16445
    public void setFieldValue(_Fields field, Object value) {
-
 
16446
      switch (field) {
-
 
16447
      case SUCCESS:
-
 
16448
        if (value == null) {
-
 
16449
          unsetSuccess();
-
 
16450
        } else {
-
 
16451
          setSuccess((Boolean)value);
-
 
16452
        }
-
 
16453
        break;
-
 
16454
 
-
 
16455
      case UCX:
-
 
16456
        if (value == null) {
-
 
16457
          unsetUcx();
-
 
16458
        } else {
-
 
16459
          setUcx((UserContextException)value);
-
 
16460
        }
-
 
16461
        break;
-
 
16462
 
-
 
16463
      }
-
 
16464
    }
-
 
16465
 
-
 
16466
    public Object getFieldValue(_Fields field) {
-
 
16467
      switch (field) {
-
 
16468
      case SUCCESS:
-
 
16469
        return Boolean.valueOf(isSuccess());
-
 
16470
 
-
 
16471
      case UCX:
-
 
16472
        return getUcx();
-
 
16473
 
-
 
16474
      }
-
 
16475
      throw new IllegalStateException();
-
 
16476
    }
-
 
16477
 
-
 
16478
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
16479
    public boolean isSet(_Fields field) {
-
 
16480
      if (field == null) {
-
 
16481
        throw new IllegalArgumentException();
-
 
16482
      }
-
 
16483
 
-
 
16484
      switch (field) {
-
 
16485
      case SUCCESS:
-
 
16486
        return isSetSuccess();
-
 
16487
      case UCX:
-
 
16488
        return isSetUcx();
-
 
16489
      }
-
 
16490
      throw new IllegalStateException();
-
 
16491
    }
-
 
16492
 
-
 
16493
    @Override
-
 
16494
    public boolean equals(Object that) {
-
 
16495
      if (that == null)
-
 
16496
        return false;
-
 
16497
      if (that instanceof updateAddress_result)
-
 
16498
        return this.equals((updateAddress_result)that);
-
 
16499
      return false;
-
 
16500
    }
-
 
16501
 
-
 
16502
    public boolean equals(updateAddress_result that) {
-
 
16503
      if (that == null)
-
 
16504
        return false;
-
 
16505
 
-
 
16506
      boolean this_present_success = true;
-
 
16507
      boolean that_present_success = true;
-
 
16508
      if (this_present_success || that_present_success) {
-
 
16509
        if (!(this_present_success && that_present_success))
-
 
16510
          return false;
-
 
16511
        if (this.success != that.success)
-
 
16512
          return false;
-
 
16513
      }
-
 
16514
 
-
 
16515
      boolean this_present_ucx = true && this.isSetUcx();
-
 
16516
      boolean that_present_ucx = true && that.isSetUcx();
-
 
16517
      if (this_present_ucx || that_present_ucx) {
-
 
16518
        if (!(this_present_ucx && that_present_ucx))
-
 
16519
          return false;
-
 
16520
        if (!this.ucx.equals(that.ucx))
-
 
16521
          return false;
-
 
16522
      }
-
 
16523
 
-
 
16524
      return true;
-
 
16525
    }
-
 
16526
 
-
 
16527
    @Override
-
 
16528
    public int hashCode() {
-
 
16529
      return 0;
-
 
16530
    }
-
 
16531
 
-
 
16532
    public int compareTo(updateAddress_result other) {
-
 
16533
      if (!getClass().equals(other.getClass())) {
-
 
16534
        return getClass().getName().compareTo(other.getClass().getName());
-
 
16535
      }
-
 
16536
 
-
 
16537
      int lastComparison = 0;
-
 
16538
      updateAddress_result typedOther = (updateAddress_result)other;
-
 
16539
 
-
 
16540
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
16541
      if (lastComparison != 0) {
-
 
16542
        return lastComparison;
-
 
16543
      }
-
 
16544
      if (isSetSuccess()) {
-
 
16545
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
16546
        if (lastComparison != 0) {
-
 
16547
          return lastComparison;
-
 
16548
        }
-
 
16549
      }
-
 
16550
      lastComparison = Boolean.valueOf(isSetUcx()).compareTo(typedOther.isSetUcx());
-
 
16551
      if (lastComparison != 0) {
-
 
16552
        return lastComparison;
-
 
16553
      }
-
 
16554
      if (isSetUcx()) {
-
 
16555
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ucx, typedOther.ucx);
-
 
16556
        if (lastComparison != 0) {
-
 
16557
          return lastComparison;
-
 
16558
        }
-
 
16559
      }
-
 
16560
      return 0;
-
 
16561
    }
-
 
16562
 
-
 
16563
    public _Fields fieldForId(int fieldId) {
-
 
16564
      return _Fields.findByThriftId(fieldId);
-
 
16565
    }
-
 
16566
 
-
 
16567
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
16568
      org.apache.thrift.protocol.TField field;
-
 
16569
      iprot.readStructBegin();
-
 
16570
      while (true)
-
 
16571
      {
-
 
16572
        field = iprot.readFieldBegin();
-
 
16573
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
16574
          break;
-
 
16575
        }
-
 
16576
        switch (field.id) {
-
 
16577
          case 0: // SUCCESS
-
 
16578
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
16579
              this.success = iprot.readBool();
-
 
16580
              setSuccessIsSet(true);
-
 
16581
            } else { 
-
 
16582
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
16583
            }
-
 
16584
            break;
-
 
16585
          case 1: // UCX
-
 
16586
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
16587
              this.ucx = new UserContextException();
-
 
16588
              this.ucx.read(iprot);
-
 
16589
            } else { 
-
 
16590
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
16591
            }
-
 
16592
            break;
-
 
16593
          default:
-
 
16594
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
16595
        }
-
 
16596
        iprot.readFieldEnd();
-
 
16597
      }
-
 
16598
      iprot.readStructEnd();
-
 
16599
      validate();
-
 
16600
    }
-
 
16601
 
-
 
16602
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
16603
      oprot.writeStructBegin(STRUCT_DESC);
-
 
16604
 
-
 
16605
      if (this.isSetSuccess()) {
-
 
16606
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
16607
        oprot.writeBool(this.success);
-
 
16608
        oprot.writeFieldEnd();
-
 
16609
      } else if (this.isSetUcx()) {
-
 
16610
        oprot.writeFieldBegin(UCX_FIELD_DESC);
-
 
16611
        this.ucx.write(oprot);
-
 
16612
        oprot.writeFieldEnd();
-
 
16613
      }
-
 
16614
      oprot.writeFieldStop();
-
 
16615
      oprot.writeStructEnd();
-
 
16616
    }
-
 
16617
 
-
 
16618
    @Override
-
 
16619
    public String toString() {
-
 
16620
      StringBuilder sb = new StringBuilder("updateAddress_result(");
-
 
16621
      boolean first = true;
-
 
16622
 
-
 
16623
      sb.append("success:");
-
 
16624
      sb.append(this.success);
-
 
16625
      first = false;
-
 
16626
      if (!first) sb.append(", ");
-
 
16627
      sb.append("ucx:");
-
 
16628
      if (this.ucx == null) {
-
 
16629
        sb.append("null");
-
 
16630
      } else {
-
 
16631
        sb.append(this.ucx);
-
 
16632
      }
-
 
16633
      first = false;
-
 
16634
      sb.append(")");
-
 
16635
      return sb.toString();
-
 
16636
    }
-
 
16637
 
-
 
16638
    public void validate() throws org.apache.thrift.TException {
-
 
16639
      // check for required fields
-
 
16640
    }
-
 
16641
 
-
 
16642
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
16643
      try {
-
 
16644
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
16645
      } catch (org.apache.thrift.TException te) {
-
 
16646
        throw new java.io.IOException(te);
-
 
16647
      }
-
 
16648
    }
-
 
16649
 
-
 
16650
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
16651
      try {
-
 
16652
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
16653
      } catch (org.apache.thrift.TException te) {
-
 
16654
        throw new java.io.IOException(te);
-
 
16655
      }
-
 
16656
    }
-
 
16657
 
-
 
16658
  }
-
 
16659
 
15900
  public static class setUserAsLoggedIn_args implements org.apache.thrift.TBase<setUserAsLoggedIn_args, setUserAsLoggedIn_args._Fields>, java.io.Serializable, Cloneable   {
16660
  public static class setUserAsLoggedIn_args implements org.apache.thrift.TBase<setUserAsLoggedIn_args, setUserAsLoggedIn_args._Fields>, java.io.Serializable, Cloneable   {
15901
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("setUserAsLoggedIn_args");
16661
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("setUserAsLoggedIn_args");
15902
 
16662
 
15903
    private static final org.apache.thrift.protocol.TField USER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("userId", org.apache.thrift.protocol.TType.I64, (short)1);
16663
    private static final org.apache.thrift.protocol.TField USER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("userId", org.apache.thrift.protocol.TType.I64, (short)1);
15904
    private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("timestamp", org.apache.thrift.protocol.TType.I64, (short)2);
16664
    private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("timestamp", org.apache.thrift.protocol.TType.I64, (short)2);
Line 31705... Line 32465...
31705
      }
32465
      }
31706
    }
32466
    }
31707
 
32467
 
31708
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
32468
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
31709
      try {
32469
      try {
31710
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
31711
        __isset_bit_vector = new BitSet(1);
-
 
31712
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
32470
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
31713
      } catch (org.apache.thrift.TException te) {
32471
      } catch (org.apache.thrift.TException te) {
31714
        throw new java.io.IOException(te);
32472
        throw new java.io.IOException(te);
31715
      }
32473
      }
31716
    }
32474
    }
Line 46464... Line 47222...
46464
      }
47222
      }
46465
    }
47223
    }
46466
 
47224
 
46467
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
47225
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
46468
      try {
47226
      try {
-
 
47227
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
47228
        __isset_bit_vector = new BitSet(1);
46469
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
47229
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
46470
      } catch (org.apache.thrift.TException te) {
47230
      } catch (org.apache.thrift.TException te) {
46471
        throw new java.io.IOException(te);
47231
        throw new java.io.IOException(te);
46472
      }
47232
      }
46473
    }
47233
    }
Line 47345... Line 48105...
47345
      }
48105
      }
47346
    }
48106
    }
47347
 
48107
 
47348
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
48108
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
47349
      try {
48109
      try {
-
 
48110
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
48111
        __isset_bit_vector = new BitSet(1);
47350
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
48112
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
47351
      } catch (org.apache.thrift.TException te) {
48113
      } catch (org.apache.thrift.TException te) {
47352
        throw new java.io.IOException(te);
48114
        throw new java.io.IOException(te);
47353
      }
48115
      }
47354
    }
48116
    }
Line 48138... Line 48900...
48138
      }
48900
      }
48139
    }
48901
    }
48140
 
48902
 
48141
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
48903
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
48142
      try {
48904
      try {
-
 
48905
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
48906
        __isset_bit_vector = new BitSet(1);
48143
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
48907
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
48144
      } catch (org.apache.thrift.TException te) {
48908
      } catch (org.apache.thrift.TException te) {
48145
        throw new java.io.IOException(te);
48909
        throw new java.io.IOException(te);
48146
      }
48910
      }
48147
    }
48911
    }
Line 53654... Line 54418...
53654
      }
54418
      }
53655
    }
54419
    }
53656
 
54420
 
53657
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
54421
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
53658
      try {
54422
      try {
-
 
54423
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
54424
        __isset_bit_vector = new BitSet(1);
53659
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
54425
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
53660
      } catch (org.apache.thrift.TException te) {
54426
      } catch (org.apache.thrift.TException te) {
53661
        throw new java.io.IOException(te);
54427
        throw new java.io.IOException(te);
53662
      }
54428
      }
53663
    }
54429
    }
Line 55610... Line 56376...
55610
      }
56376
      }
55611
    }
56377
    }
55612
 
56378
 
55613
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
56379
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
55614
      try {
56380
      try {
55615
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
55616
        __isset_bit_vector = new BitSet(1);
-
 
55617
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
56381
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
55618
      } catch (org.apache.thrift.TException te) {
56382
      } catch (org.apache.thrift.TException te) {
55619
        throw new java.io.IOException(te);
56383
        throw new java.io.IOException(te);
55620
      }
56384
      }
55621
    }
56385
    }
Line 56662... Line 57426...
56662
      }
57426
      }
56663
    }
57427
    }
56664
 
57428
 
56665
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
57429
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
56666
      try {
57430
      try {
-
 
57431
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
57432
        __isset_bit_vector = new BitSet(1);
56667
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
57433
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
56668
      } catch (org.apache.thrift.TException te) {
57434
      } catch (org.apache.thrift.TException te) {
56669
        throw new java.io.IOException(te);
57435
        throw new java.io.IOException(te);
56670
      }
57436
      }
56671
    }
57437
    }
Line 57330... Line 58096...
57330
      }
58096
      }
57331
    }
58097
    }
57332
 
58098
 
57333
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
58099
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
57334
      try {
58100
      try {
-
 
58101
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
58102
        __isset_bit_vector = new BitSet(1);
57335
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
58103
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
57336
      } catch (org.apache.thrift.TException te) {
58104
      } catch (org.apache.thrift.TException te) {
57337
        throw new java.io.IOException(te);
58105
        throw new java.io.IOException(te);
57338
      }
58106
      }
57339
    }
58107
    }
Line 58201... Line 58969...
58201
      }
58969
      }
58202
    }
58970
    }
58203
 
58971
 
58204
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
58972
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
58205
      try {
58973
      try {
-
 
58974
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
58975
        __isset_bit_vector = new BitSet(1);
58206
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
58976
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
58207
      } catch (org.apache.thrift.TException te) {
58977
      } catch (org.apache.thrift.TException te) {
58208
        throw new java.io.IOException(te);
58978
        throw new java.io.IOException(te);
58209
      }
58979
      }
58210
    }
58980
    }
Line 59549... Line 60319...
59549
      }
60319
      }
59550
    }
60320
    }
59551
 
60321
 
59552
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
60322
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
59553
      try {
60323
      try {
-
 
60324
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
60325
        __isset_bit_vector = new BitSet(1);
59554
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
60326
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
59555
      } catch (org.apache.thrift.TException te) {
60327
      } catch (org.apache.thrift.TException te) {
59556
        throw new java.io.IOException(te);
60328
        throw new java.io.IOException(te);
59557
      }
60329
      }
59558
    }
60330
    }