public class ThriftProtocol extends AbstractProxyProtocol
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
DEFAULT_PORT |
static String |
NAME |
static String |
THRIFT_CLIENT |
static String |
THRIFT_IFACE |
static String |
THRIFT_PROCESSOR |
| 构造器和说明 |
|---|
ThriftProtocol() |
ThriftProtocol(Class<?>... exceptions) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getDefaultPort()
Get default port when user doesn't config the port.
|
addRpcException, export, getProxyFactory, setProxyFactorydestroy, getExporterMap, getExporters, getServers, referpublic static final int DEFAULT_PORT
public ThriftProtocol()
public ThriftProtocol(Class<?>... exceptions)
public int getDefaultPort()
ProtocolCopyright © 2011–2021 The Apache Software Foundation. All rights reserved.