org.apache.blur.thirdparty.thrift_0_9_0.transport
Class TTransportFactory

java.lang.Object
  extended by org.apache.blur.thirdparty.thrift_0_9_0.transport.TTransportFactory
Direct Known Subclasses:
TFastFramedTransport.Factory, TFramedTransport.Factory, THttpClient.Factory, TSaslServerTransport.Factory

public class TTransportFactory
extends Object

Factory class used to create wrapped instance of Transports. This is used primarily in servers, which get Transports from a ServerTransport and then may want to mutate them (i.e. create a BufferedTransport from the underlying base transport)


Constructor Summary
TTransportFactory()
           
 
Method Summary
 TTransport getTransport(TTransport trans)
          Return a wrapped instance of the base Transport.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TTransportFactory

public TTransportFactory()
Method Detail

getTransport

public TTransport getTransport(TTransport trans)
Return a wrapped instance of the base Transport.

Parameters:
trans - The base transport
Returns:
Wrapped Transport


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.