Subversion Repositories SmartDukaan

Rev

Rev 3896 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
3893 chandransh 1
/**
2
 * Autogenerated by Thrift Compiler (0.7.0)
3
 *
4
 * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
 */
6
package in.shop2020.content;
7
 
8
import java.util.List;
9
import java.util.ArrayList;
10
import java.util.Map;
11
import java.util.HashMap;
12
import java.util.EnumMap;
13
import java.util.Set;
14
import java.util.HashSet;
15
import java.util.EnumSet;
16
import java.util.Collections;
17
import java.util.BitSet;
18
import java.nio.ByteBuffer;
19
import java.util.Arrays;
20
import org.slf4j.Logger;
21
import org.slf4j.LoggerFactory;
22
 
23
public class ContentService {
24
 
25
  public interface Iface extends in.shop2020.generic.GenericService.Iface {
26
 
27
    public void pushContentToProduction(long entityId) throws org.apache.thrift.TException;
28
 
29
  }
30
 
31
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
32
 
33
    public void pushContentToProduction(long entityId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.pushContentToProduction_call> resultHandler) throws org.apache.thrift.TException;
34
 
35
  }
36
 
37
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
38
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
39
      public Factory() {}
40
      public Client getClient(org.apache.thrift.protocol.TProtocol prot) {
41
        return new Client(prot);
42
      }
43
      public Client getClient(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot) {
44
        return new Client(iprot, oprot);
45
      }
46
    }
47
 
48
    public Client(org.apache.thrift.protocol.TProtocol prot)
49
    {
50
      super(prot, prot);
51
    }
52
 
53
    public Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot) {
54
      super(iprot, oprot);
55
    }
56
 
57
    public void pushContentToProduction(long entityId) throws org.apache.thrift.TException
58
    {
59
      send_pushContentToProduction(entityId);
60
      recv_pushContentToProduction();
61
    }
62
 
63
    public void send_pushContentToProduction(long entityId) throws org.apache.thrift.TException
64
    {
65
      pushContentToProduction_args args = new pushContentToProduction_args();
66
      args.setEntityId(entityId);
67
      sendBase("pushContentToProduction", args);
68
    }
69
 
70
    public void recv_pushContentToProduction() throws org.apache.thrift.TException
71
    {
72
      pushContentToProduction_result result = new pushContentToProduction_result();
73
      receiveBase(result, "pushContentToProduction");
74
      return;
75
    }
76
 
77
  }
78
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
79
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
80
      private org.apache.thrift.async.TAsyncClientManager clientManager;
81
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
82
      public Factory(org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.protocol.TProtocolFactory protocolFactory) {
83
        this.clientManager = clientManager;
84
        this.protocolFactory = protocolFactory;
85
      }
86
      public AsyncClient getAsyncClient(org.apache.thrift.transport.TNonblockingTransport transport) {
87
        return new AsyncClient(protocolFactory, clientManager, transport);
88
      }
89
    }
90
 
91
    public AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport) {
92
      super(protocolFactory, clientManager, transport);
93
    }
94
 
95
    public void pushContentToProduction(long entityId, org.apache.thrift.async.AsyncMethodCallback<pushContentToProduction_call> resultHandler) throws org.apache.thrift.TException {
96
      checkReady();
97
      pushContentToProduction_call method_call = new pushContentToProduction_call(entityId, resultHandler, this, ___protocolFactory, ___transport);
98
      this.___currentMethod = method_call;
99
      ___manager.call(method_call);
100
    }
101
 
102
    public static class pushContentToProduction_call extends org.apache.thrift.async.TAsyncMethodCall {
103
      private long entityId;
104
      public pushContentToProduction_call(long entityId, org.apache.thrift.async.AsyncMethodCallback<pushContentToProduction_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 {
105
        super(client, protocolFactory, transport, resultHandler, false);
106
        this.entityId = entityId;
107
      }
108
 
109
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
110
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("pushContentToProduction", org.apache.thrift.protocol.TMessageType.CALL, 0));
111
        pushContentToProduction_args args = new pushContentToProduction_args();
112
        args.setEntityId(entityId);
113
        args.write(prot);
114
        prot.writeMessageEnd();
115
      }
116
 
117
      public void getResult() throws org.apache.thrift.TException {
118
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
119
          throw new IllegalStateException("Method call not finished!");
120
        }
121
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
122
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
123
        (new Client(prot)).recv_pushContentToProduction();
124
      }
125
    }
126
 
127
  }
128
 
129
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
130
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
131
    public Processor(I iface) {
132
      super(iface, getProcessMap(new HashMap<String, org.apache.thrift.ProcessFunction<I, ? extends org.apache.thrift.TBase>>()));
133
    }
134
 
135
    protected Processor(I iface, Map<String,  org.apache.thrift.ProcessFunction<I, ? extends  org.apache.thrift.TBase>> processMap) {
136
      super(iface, getProcessMap(processMap));
137
    }
138
 
139
    private static <I extends Iface> Map<String,  org.apache.thrift.ProcessFunction<I, ? extends  org.apache.thrift.TBase>> getProcessMap(Map<String,  org.apache.thrift.ProcessFunction<I, ? extends  org.apache.thrift.TBase>> processMap) {
140
      processMap.put("pushContentToProduction", new pushContentToProduction());
141
      return processMap;
142
    }
143
 
144
    private static class pushContentToProduction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, pushContentToProduction_args> {
145
      public pushContentToProduction() {
146
        super("pushContentToProduction");
147
      }
148
 
149
      protected pushContentToProduction_args getEmptyArgsInstance() {
150
        return new pushContentToProduction_args();
151
      }
152
 
153
      protected pushContentToProduction_result getResult(I iface, pushContentToProduction_args args) throws org.apache.thrift.TException {
154
        pushContentToProduction_result result = new pushContentToProduction_result();
155
        iface.pushContentToProduction(args.entityId);
156
        return result;
157
      }
158
    }
159
 
160
  }
161
 
162
  public static class pushContentToProduction_args implements org.apache.thrift.TBase<pushContentToProduction_args, pushContentToProduction_args._Fields>, java.io.Serializable, Cloneable   {
163
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("pushContentToProduction_args");
164
 
165
    private static final org.apache.thrift.protocol.TField ENTITY_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("entityId", org.apache.thrift.protocol.TType.I64, (short)1);
166
 
167
    private long entityId; // required
168
 
169
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
170
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
171
      ENTITY_ID((short)1, "entityId");
172
 
173
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
174
 
175
      static {
176
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
177
          byName.put(field.getFieldName(), field);
178
        }
179
      }
180
 
181
      /**
182
       * Find the _Fields constant that matches fieldId, or null if its not found.
183
       */
184
      public static _Fields findByThriftId(int fieldId) {
185
        switch(fieldId) {
186
          case 1: // ENTITY_ID
187
            return ENTITY_ID;
188
          default:
189
            return null;
190
        }
191
      }
192
 
193
      /**
194
       * Find the _Fields constant that matches fieldId, throwing an exception
195
       * if it is not found.
196
       */
197
      public static _Fields findByThriftIdOrThrow(int fieldId) {
198
        _Fields fields = findByThriftId(fieldId);
199
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
200
        return fields;
201
      }
202
 
203
      /**
204
       * Find the _Fields constant that matches name, or null if its not found.
205
       */
206
      public static _Fields findByName(String name) {
207
        return byName.get(name);
208
      }
209
 
210
      private final short _thriftId;
211
      private final String _fieldName;
212
 
213
      _Fields(short thriftId, String fieldName) {
214
        _thriftId = thriftId;
215
        _fieldName = fieldName;
216
      }
217
 
218
      public short getThriftFieldId() {
219
        return _thriftId;
220
      }
221
 
222
      public String getFieldName() {
223
        return _fieldName;
224
      }
225
    }
226
 
227
    // isset id assignments
228
    private static final int __ENTITYID_ISSET_ID = 0;
229
    private BitSet __isset_bit_vector = new BitSet(1);
230
 
231
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
232
    static {
233
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
234
      tmpMap.put(_Fields.ENTITY_ID, new org.apache.thrift.meta_data.FieldMetaData("entityId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
235
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
236
      metaDataMap = Collections.unmodifiableMap(tmpMap);
237
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(pushContentToProduction_args.class, metaDataMap);
238
    }
239
 
240
    public pushContentToProduction_args() {
241
    }
242
 
243
    public pushContentToProduction_args(
244
      long entityId)
245
    {
246
      this();
247
      this.entityId = entityId;
248
      setEntityIdIsSet(true);
249
    }
250
 
251
    /**
252
     * Performs a deep copy on <i>other</i>.
253
     */
254
    public pushContentToProduction_args(pushContentToProduction_args other) {
255
      __isset_bit_vector.clear();
256
      __isset_bit_vector.or(other.__isset_bit_vector);
257
      this.entityId = other.entityId;
258
    }
259
 
260
    public pushContentToProduction_args deepCopy() {
261
      return new pushContentToProduction_args(this);
262
    }
263
 
264
    @Override
265
    public void clear() {
266
      setEntityIdIsSet(false);
267
      this.entityId = 0;
268
    }
269
 
270
    public long getEntityId() {
271
      return this.entityId;
272
    }
273
 
274
    public void setEntityId(long entityId) {
275
      this.entityId = entityId;
276
      setEntityIdIsSet(true);
277
    }
278
 
279
    public void unsetEntityId() {
280
      __isset_bit_vector.clear(__ENTITYID_ISSET_ID);
281
    }
282
 
283
    /** Returns true if field entityId is set (has been assigned a value) and false otherwise */
284
    public boolean isSetEntityId() {
285
      return __isset_bit_vector.get(__ENTITYID_ISSET_ID);
286
    }
287
 
288
    public void setEntityIdIsSet(boolean value) {
289
      __isset_bit_vector.set(__ENTITYID_ISSET_ID, value);
290
    }
291
 
292
    public void setFieldValue(_Fields field, Object value) {
293
      switch (field) {
294
      case ENTITY_ID:
295
        if (value == null) {
296
          unsetEntityId();
297
        } else {
298
          setEntityId((Long)value);
299
        }
300
        break;
301
 
302
      }
303
    }
304
 
305
    public Object getFieldValue(_Fields field) {
306
      switch (field) {
307
      case ENTITY_ID:
308
        return Long.valueOf(getEntityId());
309
 
310
      }
311
      throw new IllegalStateException();
312
    }
313
 
314
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
315
    public boolean isSet(_Fields field) {
316
      if (field == null) {
317
        throw new IllegalArgumentException();
318
      }
319
 
320
      switch (field) {
321
      case ENTITY_ID:
322
        return isSetEntityId();
323
      }
324
      throw new IllegalStateException();
325
    }
326
 
327
    @Override
328
    public boolean equals(Object that) {
329
      if (that == null)
330
        return false;
331
      if (that instanceof pushContentToProduction_args)
332
        return this.equals((pushContentToProduction_args)that);
333
      return false;
334
    }
335
 
336
    public boolean equals(pushContentToProduction_args that) {
337
      if (that == null)
338
        return false;
339
 
340
      boolean this_present_entityId = true;
341
      boolean that_present_entityId = true;
342
      if (this_present_entityId || that_present_entityId) {
343
        if (!(this_present_entityId && that_present_entityId))
344
          return false;
345
        if (this.entityId != that.entityId)
346
          return false;
347
      }
348
 
349
      return true;
350
    }
351
 
352
    @Override
353
    public int hashCode() {
354
      return 0;
355
    }
356
 
357
    public int compareTo(pushContentToProduction_args other) {
358
      if (!getClass().equals(other.getClass())) {
359
        return getClass().getName().compareTo(other.getClass().getName());
360
      }
361
 
362
      int lastComparison = 0;
363
      pushContentToProduction_args typedOther = (pushContentToProduction_args)other;
364
 
365
      lastComparison = Boolean.valueOf(isSetEntityId()).compareTo(typedOther.isSetEntityId());
366
      if (lastComparison != 0) {
367
        return lastComparison;
368
      }
369
      if (isSetEntityId()) {
370
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.entityId, typedOther.entityId);
371
        if (lastComparison != 0) {
372
          return lastComparison;
373
        }
374
      }
375
      return 0;
376
    }
377
 
378
    public _Fields fieldForId(int fieldId) {
379
      return _Fields.findByThriftId(fieldId);
380
    }
381
 
382
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
383
      org.apache.thrift.protocol.TField field;
384
      iprot.readStructBegin();
385
      while (true)
386
      {
387
        field = iprot.readFieldBegin();
388
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
389
          break;
390
        }
391
        switch (field.id) {
392
          case 1: // ENTITY_ID
393
            if (field.type == org.apache.thrift.protocol.TType.I64) {
394
              this.entityId = iprot.readI64();
395
              setEntityIdIsSet(true);
396
            } else { 
397
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
398
            }
399
            break;
400
          default:
401
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
402
        }
403
        iprot.readFieldEnd();
404
      }
405
      iprot.readStructEnd();
406
      validate();
407
    }
408
 
409
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
410
      validate();
411
 
412
      oprot.writeStructBegin(STRUCT_DESC);
413
      oprot.writeFieldBegin(ENTITY_ID_FIELD_DESC);
414
      oprot.writeI64(this.entityId);
415
      oprot.writeFieldEnd();
416
      oprot.writeFieldStop();
417
      oprot.writeStructEnd();
418
    }
419
 
420
    @Override
421
    public String toString() {
422
      StringBuilder sb = new StringBuilder("pushContentToProduction_args(");
423
      boolean first = true;
424
 
425
      sb.append("entityId:");
426
      sb.append(this.entityId);
427
      first = false;
428
      sb.append(")");
429
      return sb.toString();
430
    }
431
 
432
    public void validate() throws org.apache.thrift.TException {
433
      // check for required fields
434
    }
435
 
436
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
437
      try {
438
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
439
      } catch (org.apache.thrift.TException te) {
440
        throw new java.io.IOException(te);
441
      }
442
    }
443
 
444
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
445
      try {
446
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
447
        __isset_bit_vector = new BitSet(1);
448
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
449
      } catch (org.apache.thrift.TException te) {
450
        throw new java.io.IOException(te);
451
      }
452
    }
453
 
454
  }
455
 
456
  public static class pushContentToProduction_result implements org.apache.thrift.TBase<pushContentToProduction_result, pushContentToProduction_result._Fields>, java.io.Serializable, Cloneable   {
457
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("pushContentToProduction_result");
458
 
459
 
460
 
461
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
462
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
463
;
464
 
465
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
466
 
467
      static {
468
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
469
          byName.put(field.getFieldName(), field);
470
        }
471
      }
472
 
473
      /**
474
       * Find the _Fields constant that matches fieldId, or null if its not found.
475
       */
476
      public static _Fields findByThriftId(int fieldId) {
477
        switch(fieldId) {
478
          default:
479
            return null;
480
        }
481
      }
482
 
483
      /**
484
       * Find the _Fields constant that matches fieldId, throwing an exception
485
       * if it is not found.
486
       */
487
      public static _Fields findByThriftIdOrThrow(int fieldId) {
488
        _Fields fields = findByThriftId(fieldId);
489
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
490
        return fields;
491
      }
492
 
493
      /**
494
       * Find the _Fields constant that matches name, or null if its not found.
495
       */
496
      public static _Fields findByName(String name) {
497
        return byName.get(name);
498
      }
499
 
500
      private final short _thriftId;
501
      private final String _fieldName;
502
 
503
      _Fields(short thriftId, String fieldName) {
504
        _thriftId = thriftId;
505
        _fieldName = fieldName;
506
      }
507
 
508
      public short getThriftFieldId() {
509
        return _thriftId;
510
      }
511
 
512
      public String getFieldName() {
513
        return _fieldName;
514
      }
515
    }
516
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
517
    static {
518
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
519
      metaDataMap = Collections.unmodifiableMap(tmpMap);
520
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(pushContentToProduction_result.class, metaDataMap);
521
    }
522
 
523
    public pushContentToProduction_result() {
524
    }
525
 
526
    /**
527
     * Performs a deep copy on <i>other</i>.
528
     */
529
    public pushContentToProduction_result(pushContentToProduction_result other) {
530
    }
531
 
532
    public pushContentToProduction_result deepCopy() {
533
      return new pushContentToProduction_result(this);
534
    }
535
 
536
    @Override
537
    public void clear() {
538
    }
539
 
540
    public void setFieldValue(_Fields field, Object value) {
541
      switch (field) {
542
      }
543
    }
544
 
545
    public Object getFieldValue(_Fields field) {
546
      switch (field) {
547
      }
548
      throw new IllegalStateException();
549
    }
550
 
551
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
552
    public boolean isSet(_Fields field) {
553
      if (field == null) {
554
        throw new IllegalArgumentException();
555
      }
556
 
557
      switch (field) {
558
      }
559
      throw new IllegalStateException();
560
    }
561
 
562
    @Override
563
    public boolean equals(Object that) {
564
      if (that == null)
565
        return false;
566
      if (that instanceof pushContentToProduction_result)
567
        return this.equals((pushContentToProduction_result)that);
568
      return false;
569
    }
570
 
571
    public boolean equals(pushContentToProduction_result that) {
572
      if (that == null)
573
        return false;
574
 
575
      return true;
576
    }
577
 
578
    @Override
579
    public int hashCode() {
580
      return 0;
581
    }
582
 
583
    public int compareTo(pushContentToProduction_result other) {
584
      if (!getClass().equals(other.getClass())) {
585
        return getClass().getName().compareTo(other.getClass().getName());
586
      }
587
 
588
      int lastComparison = 0;
589
      pushContentToProduction_result typedOther = (pushContentToProduction_result)other;
590
 
591
      return 0;
592
    }
593
 
594
    public _Fields fieldForId(int fieldId) {
595
      return _Fields.findByThriftId(fieldId);
596
    }
597
 
598
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
599
      org.apache.thrift.protocol.TField field;
600
      iprot.readStructBegin();
601
      while (true)
602
      {
603
        field = iprot.readFieldBegin();
604
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
605
          break;
606
        }
607
        switch (field.id) {
608
          default:
609
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
610
        }
611
        iprot.readFieldEnd();
612
      }
613
      iprot.readStructEnd();
614
      validate();
615
    }
616
 
617
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
618
      oprot.writeStructBegin(STRUCT_DESC);
619
 
620
      oprot.writeFieldStop();
621
      oprot.writeStructEnd();
622
    }
623
 
624
    @Override
625
    public String toString() {
626
      StringBuilder sb = new StringBuilder("pushContentToProduction_result(");
627
      boolean first = true;
628
 
629
      sb.append(")");
630
      return sb.toString();
631
    }
632
 
633
    public void validate() throws org.apache.thrift.TException {
634
      // check for required fields
635
    }
636
 
637
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
638
      try {
639
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
640
      } catch (org.apache.thrift.TException te) {
641
        throw new java.io.IOException(te);
642
      }
643
    }
644
 
645
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
646
      try {
647
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
648
      } catch (org.apache.thrift.TException te) {
649
        throw new java.io.IOException(te);
650
      }
651
    }
652
 
653
  }
654
 
655
}