org.apache.flume.api
Class SecureThriftRpcClient
java.lang.Object
org.apache.flume.api.AbstractRpcClient
org.apache.flume.api.ThriftRpcClient
org.apache.flume.api.SecureThriftRpcClient
- All Implemented Interfaces:
- RpcClient
public class SecureThriftRpcClient
- extends ThriftRpcClient
Method Summary |
protected void |
configure(Properties properties)
Configure the client using the given properties object. |
protected org.apache.thrift.transport.TTransport |
getTransport(org.apache.thrift.transport.TSocket tsocket)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecureThriftRpcClient
public SecureThriftRpcClient()
configure
protected void configure(Properties properties)
throws FlumeException
- Description copied from class:
AbstractRpcClient
- Configure the client using the given properties object.
- Overrides:
configure
in class ThriftRpcClient
- Throws:
FlumeException
- if the client can not be configured using this
method, or if the client was already configured once.
getTransport
protected org.apache.thrift.transport.TTransport getTransport(org.apache.thrift.transport.TSocket tsocket)
throws Exception
- Overrides:
getTransport
in class ThriftRpcClient
- Throws:
Exception
Copyright © 2009-2015 Apache Software Foundation. All Rights Reserved.