public class DubboProtocol extends AbstractProtocol
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
DEFAULT_PORT |
static String |
NAME |
| 构造器和说明 |
|---|
DubboProtocol() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
destroy() |
<T> Exporter<T> |
export(Invoker<T> invoker) |
int |
getDefaultPort() |
static DubboProtocol |
getDubboProtocol() |
Collection<Invoker<?>> |
getInvokers() |
<T> Invoker<T> |
protocolBindingRefer(Class<T> serviceType,
org.apache.dubbo.common.URL url) |
getExporterMap, getExporters, getServers, referpublic static final int DEFAULT_PORT
public static DubboProtocol getDubboProtocol()
public Collection<Invoker<?>> getInvokers()
public int getDefaultPort()
public <T> Exporter<T> export(Invoker<T> invoker) throws RpcException
RpcExceptionpublic <T> Invoker<T> protocolBindingRefer(Class<T> serviceType, org.apache.dubbo.common.URL url) throws RpcException
protocolBindingRefer 在类中 AbstractProtocolRpcExceptionpublic void destroy()
destroy 在接口中 Protocoldestroy 在类中 AbstractProtocolCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.