Package org.apache.storm.security.auth
Class ThriftServer
java.lang.Object
org.apache.storm.security.auth.ThriftServer
- 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionThriftServer(Map<String, Object> conf, org.apache.storm.thrift.TProcessor processor, ThriftConnectionType type)  - 
Method Summary
 
- 
Field Details
- 
processor
protected final org.apache.storm.thrift.TProcessor processor 
 - 
 - 
Constructor Details
- 
ThriftServer
public ThriftServer(Map<String, Object> conf, org.apache.storm.thrift.TProcessor processor, ThriftConnectionType type)  
 - 
 - 
Method Details
- 
stop
public void stop() - 
isServing
public boolean isServing()Check whether serving.- Returns:
 - true if ThriftServer is listening to requests?
 
 - 
serve
public void serve() - 
getPort
public int getPort()Get port.- Returns:
 - The port this server is/will be listening on
 
 - 
getType
Get type.- Returns:
 - The type of server
 
 - 
supportsWorkerTokens
public boolean supportsWorkerTokens()Check if worker tokens are supported by this thrift server.- Returns:
 - true if they are else false.
 
 - 
getConf
 - 
getProcessor
public org.apache.storm.thrift.TProcessor getProcessor() 
 -