Example usage for Java org.apache.thrift.transport TTransport fields, constructors, methods, implement or subclass
The text is from its open source code.
void | close() Closes the transport. |
void | flush() Flush any pending data out of a transport buffer. |
boolean | isOpen() Queries whether the transport is open. |
void | open() Opens the transport for reading/writing. |
int | read(byte[] buf, int off, int len) Reads up to len bytes into buffer buf, starting at offset off. |
int | readAll(byte[] buf, int off, int len) Guarantees that all of len bytes are actually read off the transport. |
void | write(byte[] buf, int off, int len) Writes up to len bytes from the buffer. |