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<Exporter<?>> |
getExporters() |
Collection<Invoker<?>> |
getInvokers() |
Collection<ExchangeServer> |
getServers() |
<T> Invoker<T> |
refer(Class<T> serviceType,
org.apache.dubbo.common.URL url) |
public static final String NAME
public static final int DEFAULT_PORT
public static DubboProtocol getDubboProtocol()
public Collection<ExchangeServer> getServers()
public Collection<Exporter<?>> getExporters()
public Collection<Invoker<?>> getInvokers()
public int getDefaultPort()
public <T> Exporter<T> export(Invoker<T> invoker) throws RpcException
RpcExceptionpublic <T> Invoker<T> refer(Class<T> serviceType, org.apache.dubbo.common.URL url) throws RpcException
RpcExceptionpublic void destroy()
destroy in interface Protocoldestroy in class AbstractProtocolCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.