backtype.storm.security.auth
Class ThriftClient

java.lang.Object
  extended by backtype.storm.security.auth.ThriftClient
Direct Known Subclasses:
NimbusClient

public class ThriftClient
extends Object


Field Summary
protected  org.apache.thrift.protocol.TProtocol _protocol
           
 
Constructor Summary
ThriftClient(Map storm_conf, String host, int port)
           
ThriftClient(Map storm_conf, String host, int port, Integer timeout)
           
 
Method Summary
 void close()
           
 org.apache.thrift.transport.TTransport transport()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_protocol

protected org.apache.thrift.protocol.TProtocol _protocol
Constructor Detail

ThriftClient

public ThriftClient(Map storm_conf,
                    String host,
                    int port)
             throws org.apache.thrift.transport.TTransportException
Throws:
org.apache.thrift.transport.TTransportException

ThriftClient

public ThriftClient(Map storm_conf,
                    String host,
                    int port,
                    Integer timeout)
             throws org.apache.thrift.transport.TTransportException
Throws:
org.apache.thrift.transport.TTransportException
Method Detail

transport

public org.apache.thrift.transport.TTransport transport()

close

public void close()


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