public ByteBuffer readBinary() throws TException { return concreteProtocol.readBinary(); } }
@Override public void read(TProtocol iprot, TUnion struct) throws TException { struct.setField_ = null; struct.value_ = null; iprot.readStructBegin(); TField field = iprot.readFieldBegin(); struct.value_ = struct.standardSchemeReadValue(iprot, field); if (struct.value_ != null) { struct.setField_ = struct.enumForId(field.id); } iprot.readFieldEnd(); // this is so that we will eat the stop byte. we could put a check here to // make sure that it actually *is* the stop byte, but it's faster to do it // this way. iprot.readFieldBegin(); iprot.readStructEnd(); }
public int readI32() throws TException { return concreteProtocol.readI32(); }
public void read(libthrift091.protocol.TProtocol iprot, ListQueueResponse struct) throws libthrift091.TException { libthrift091.protocol.TField schemeField; iprot.readStructBegin(); while (true) schemeField = iprot.readFieldBegin(); if (schemeField.type == libthrift091.protocol.TType.STOP) { break; if (schemeField.type == libthrift091.protocol.TType.LIST) { libthrift091.protocol.TList _list18 = iprot.readListBegin(); struct.queueName = new ArrayList<String>(_list18.size); String _elem19; for (int _i20 = 0; _i20 < _list18.size; ++_i20) _elem19 = iprot.readString(); struct.queueName.add(_elem19); iprot.readListEnd(); libthrift091.protocol.TProtocolUtil.skip(iprot, schemeField.type); iprot.readFieldEnd(); iprot.readStructEnd();
public void write(libthrift091.protocol.TProtocol oprot) throws libthrift091.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); }
public TList readListBegin() throws TException { return concreteProtocol.readListBegin(); }
public void readListEnd() throws TException { concreteProtocol.readListEnd(); }
public TField readFieldBegin() throws TException { return concreteProtocol.readFieldBegin(); }
public void readFieldEnd() throws TException { concreteProtocol.readFieldEnd(); }
public String readString() throws TException { return concreteProtocol.readString(); }
public TStruct readStructBegin() throws TException { return concreteProtocol.readStructBegin(); }
public void readStructEnd() throws TException { concreteProtocol.readStructEnd(); }
public void read(libthrift091.protocol.TProtocol iprot) throws libthrift091.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); }
public TList readListBegin() throws TException { return concreteProtocol.readListBegin(); }
public void readListEnd() throws TException { concreteProtocol.readListEnd(); }
public TField readFieldBegin() throws TException { return concreteProtocol.readFieldBegin(); }
public void readFieldEnd() throws TException { concreteProtocol.readFieldEnd(); }
public String readString() throws TException { return concreteProtocol.readString(); }
public TStruct readStructBegin() throws TException { return concreteProtocol.readStructBegin(); }
public void readStructEnd() throws TException { concreteProtocol.readStructEnd(); }