/**
* Get the TProtocol being used as the input (read) protocol.
- * @return
+ * @return the TProtocol being used as the input (read) protocol.
*/
public TProtocol getInputProtocol() {
return this.iprot_;
/**
* Get the TProtocol being used as the output (write) protocol.
- * @return
+ * @return the TProtocol being used as the output (write) protocol.
*/
public TProtocol getOutputProtocol() {
return this.oprot_;
/**
* Get a brand-new T using <i>prot</i> as both the input and output protocol.
* @param prot
- * @return
+ * @return A brand-new T using <i>prot</i> as both the input and output protocol.
*/
public T getClient(TProtocol prot);
* input and output protocols may be the same instance.
* @param iprot
* @param oprot
- * @return
+ * @return a brand new T using the specified input and output protocols
*/
public T getClient(TProtocol iprot, TProtocol oprot);
}
* Implementation should be generated to read the right stuff from the wire
* based on the field header.
* @param field
- * @return
+ * @return read Object based on the field header, as specified by the argument.
*/
protected abstract Object readValue(TProtocol iprot, TField field) throws TException;
/**
* Is the client in an error state?
- * @return
+ * @return If client in an error state?
*/
public boolean hasError() {
return ___error != null;
/**
* Get the client's error - returns null if no error
- * @return
+ * @return Get the client's error. <br /> returns null if no error
*/
public Exception getError() {
return ___error;
* assumed to be the least significant bit.
*
* @param bits
- * @return
+ * @return a byte array of at least length 1
*/
public static byte[] toByteArray(BitSet bits) {
byte[] bytes = new byte[bits.length() / 8 + 1];
* Process from start to last chunk both inclusive where chunks begin from 0
* @param startChunkNum first chunk to be processed
- * @param lastChunkNum last chunk to be processed
+ * @param endChunkNum last chunk to be processed
*/
public void processChunk(int startChunkNum, int endChunkNum) throws TException {
int numChunks = inputTransport_.getNumChunks();
/**
* File Transport ctor
*
- * @param inputFile_ open TSeekableFile to read/write from
+ * @param inputFile open TSeekableFile to read/write from
* @param readOnly Whether this is a read-only transport
*/
public TFileTransport(TSeekableFile inputFile, boolean readOnly) {
/**
* Set if client authentication is required
*
- * @param auth
+ * @param clientAuth
*/
public void requireClientAuth(boolean clientAuth) {
this.clientAuth = clientAuth;
/**
* Access the protocol's underlying buffer directly. If this is not a
* buffered transport, return null.
- * @return
+ * @return protocol's Underlying buffer
*/
public byte[] getBuffer() {
return null;
/**
* Return the index within the underlying buffer that specifies the next spot
* that should be read from.
- * @return
+ * @return index within the underlying buffer that specifies the next spot
+ * that should be read from
*/
public int getBufferPosition() {
return 0;
/**
* Get the number of bytes remaining in the underlying buffer. Returns -1 if
* this is a non-buffered transport.
- * @return
+ * @return the number of bytes remaining in the underlying buffer. <br> Returns -1 if
+ * this is a non-buffered transport.
*/
public int getBytesRemainingInBuffer() {
return -1;