public class DubboProtocol extends AbstractProtocol
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_PORT |
static String |
NAME |
| Constructor and Description |
|---|
DubboProtocol() |
| Modifier and Type | Method and Description |
|---|---|
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 String NAME
public 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 in class AbstractProtocolRpcExceptionpublic void destroy()
destroy in interface Protocoldestroy in class AbstractProtocolCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.