类 ThriftProtocol
- java.lang.Object
-
- org.apache.dubbo.rpc.protocol.AbstractProtocol
-
- org.apache.dubbo.rpc.protocol.AbstractProxyProtocol
-
- org.apache.dubbo.rpc.protocol.nativethrift.ThriftProtocol
-
- 所有已实现的接口:
Protocol
public class ThriftProtocol extends AbstractProxyProtocol
native thrift protocol
-
-
字段概要
字段 修饰符和类型 字段 说明 static intDEFAULT_PORTstatic StringNAMEstatic StringTHRIFT_CLIENTstatic StringTHRIFT_IFACEstatic StringTHRIFT_PROCESSOR
-
构造器概要
构造器 构造器 说明 ThriftProtocol()ThriftProtocol(Class<?>... exceptions)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 intgetDefaultPort()Get default port when user doesn't config the port.-
从类继承的方法 org.apache.dubbo.rpc.protocol.AbstractProxyProtocol
addRpcException, export, getProxyFactory, setProxyFactory
-
从类继承的方法 org.apache.dubbo.rpc.protocol.AbstractProtocol
destroy, getExporterMap, getExporters, getServers, refer
-
-
-
-
字段详细资料
-
DEFAULT_PORT
public static final int DEFAULT_PORT
- 另请参阅:
- 常量字段值
-
-
构造器详细资料
-
ThriftProtocol
public ThriftProtocol()
-
ThriftProtocol
public ThriftProtocol(Class<?>... exceptions)
-
-
方法详细资料
-
getDefaultPort
public int getDefaultPort()
从接口复制的说明:ProtocolGet default port when user doesn't config the port.- 返回:
- default port
-
-