Java org.apache.thrift.transport TTransport fields, constructors, methods, implement or subclass

Example usage for Java org.apache.thrift.transport TTransport fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.thrift.transport TTransport.

The text is from its open source code.

Subclass

org.apache.thrift.transport.TTransport has subclasses.
Click this link to see all its subclasses.

Constructor

Method

voidclose()
Closes the transport.
voidflush()
Flush any pending data out of a transport buffer.
booleanisOpen()
Queries whether the transport is open.
voidopen()
Opens the transport for reading/writing.
intread(byte[] buf, int off, int len)
Reads up to len bytes into buffer buf, starting at offset off.
intreadAll(byte[] buf, int off, int len)
Guarantees that all of len bytes are actually read off the transport.
voidwrite(byte[] buf, int off, int len)
Writes up to len bytes from the buffer.