public class ThriftProtocol extends AbstractProxyProtocol
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_PORT |
static String |
NAME |
static String |
THRIFT_CLIENT |
static String |
THRIFT_IFACE |
static String |
THRIFT_PROCESSOR |
| Constructor and Description |
|---|
ThriftProtocol() |
ThriftProtocol(Class<?>... exceptions) |
| Modifier and Type | Method and Description |
|---|---|
int |
getDefaultPort()
Get default port when user doesn't config the port.
|
addRpcException, export, getProxyFactory, setProxyFactorydestroy, referpublic static final int DEFAULT_PORT
public static final String NAME
public static final String THRIFT_IFACE
public static final String THRIFT_PROCESSOR
public static final String THRIFT_CLIENT
public ThriftProtocol()
public ThriftProtocol(Class<?>... exceptions)
public int getDefaultPort()
ProtocolCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.