Example usage for org.apache.thrift.transport TTransport subclass-usage

List of usage examples for org.apache.thrift.transport TTransport subclass-usage

Introduction

In this page you can find the example usage for org.apache.thrift.transport TTransport subclass-usage.

Usage

From source file alluxio.network.thrift.BootstrapClientTransport.java

/**
 * The client side transport of a BootstrapTransport.
 */
public class BootstrapClientTransport extends TTransport {
    private static final Logger LOG = LoggerFactory.getLogger(BootstrapClientTransport.class);

From source file alluxio.network.thrift.BootstrapServerTransport.java

/**
 * The server side of bootstrap transport. This transport can fallback to the real RPC transport
 * if the magic number is not found in the message header.
 */
public class BootstrapServerTransport extends TTransport {
    private static final Logger LOG = LoggerFactory.getLogger(BootstrapServerTransport.class);

From source file alluxio.network.thrift.PeekableTransport.java

/**
 * A transport that one can peek a given number of bytes from the read stream without changing the
 * read position.
 */
public class PeekableTransport extends TTransport {
    private TTransport mBaseTransport;

From source file com.baidu.oped.apm.thrift.io.ByteArrayOutputStreamTransport.java

/**
 * ByteArrayOutputStreamTransport
 * - write only
 * 
 * @author jaehong.kim
 */

From source file com.bangcar.app.data.TYgbTransport.java

/**
 * TFramedTransport is a buffered TTransport that ensures a fully read message
 * every time by preceding messages with a 4-byte frame size.
 */
public class TYgbTransport extends TTransport {

From source file com.cloudera.flume.handlers.thrift.TStatsTransport.java

/**
 * This transport wraps another transport and tracks the number of bytes read
 * and written to the transport.
 * 
 * Using atomic longs so there may be some spin contention when concurrent.
 * (need to test).

From source file com.evernote.android.edam.TAndroidHttpClient.java

/**
 * HTTP implementation of the TTransport interface modified by Evernote to
 * work on Android. Instead of caching in memory, large Thrift messages are 
 * cached on disk before being sent to the Thrift server.
 */
public class TAndroidHttpClient extends TTransport {

From source file com.evernote.client.conn.mobile.TEvernoteHttpClient.java

/**
 * HTTP implementation of the TTransport interface modified by Evernote to work
 * on Android. Instead of caching in memory, large Thrift messages are cached on
 * disk before being sent to the Thrift server.
 */
public class TEvernoteHttpClient extends TTransport {

From source file com.facebook.nifty.client.TChannelBufferInputTransport.java

/**
 * Implementation of {@link TTransport} that wraps an incoming message received from a
 * {@link NiftyClientChannel} so that a {@link org.apache.thrift.protocol.TProtocol} can
 * be constructed around the wrapper to read the message.
 */
@NotThreadSafe

From source file com.facebook.nifty.client.TChannelBufferOutputTransport.java

/**
 * Implementation of {@link TTransport} that buffers the output of a single message,
 * so that an async client can grab the buffer and send it using a {@link NiftyClientChannel}.
 */
@NotThreadSafe
public class TChannelBufferOutputTransport extends TTransport {