public class BeehiveThriftBuilder extends Object
| Constructor and Description |
|---|
BeehiveThriftBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.thrift.protocol.TProtocol |
getThriftClientProtocol(String thriftHostname,
int thriftPort) |
static org.apache.thrift.server.TServer |
getThriftServer(int thriftPort,
org.apache.thrift.TProcessor processor) |
public static org.apache.thrift.protocol.TProtocol getThriftClientProtocol(String thriftHostname, int thriftPort) throws org.apache.thrift.transport.TTransportException
org.apache.thrift.transport.TTransportExceptionpublic static org.apache.thrift.server.TServer getThriftServer(int thriftPort,
org.apache.thrift.TProcessor processor)
throws org.apache.thrift.transport.TTransportException
org.apache.thrift.transport.TTransportException