Class DubboProtocol
java.lang.Object
org.apache.dubbo.rpc.protocol.AbstractProtocol
org.apache.dubbo.rpc.protocol.dubbo.DubboProtocol
- All Implemented Interfaces:
org.apache.dubbo.rpc.model.ScopeModelAware,Protocol
dubbo protocol support.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()<T> Exporter<T> intstatic DubboProtocolDeprecated.static DubboProtocolgetDubboProtocol(org.apache.dubbo.rpc.model.ScopeModel scopeModel) Collection<Invoker<?>> <T> Invoker<T> protocolBindingRefer(Class<T> serviceType, org.apache.dubbo.common.URL url) <T> Invoker<T> Methods inherited from class org.apache.dubbo.rpc.protocol.AbstractProtocol
getExporterMap, getExporters, getServers, setFrameworkModelMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.dubbo.rpc.model.ScopeModelAware
setApplicationModel, setModuleModel, setScopeModel
-
Field Details
-
NAME
- See Also:
-
DEFAULT_PORT
public static final int DEFAULT_PORT- See Also:
-
-
Constructor Details
-
DubboProtocol
public DubboProtocol(org.apache.dubbo.rpc.model.FrameworkModel frameworkModel)
-
-
Method Details
-
getDubboProtocol
Deprecated.UsegetDubboProtocol(ScopeModel)instead -
getDubboProtocol
-
getInvokers
-
getDefaultPort
public int getDefaultPort() -
export
- Throws:
RpcException
-
refer
- Specified by:
referin interfaceProtocol- Overrides:
referin classAbstractProtocol- Throws:
RpcException
-
protocolBindingRefer
public <T> Invoker<T> protocolBindingRefer(Class<T> serviceType, org.apache.dubbo.common.URL url) throws RpcException - Throws:
RpcException
-
destroy
public void destroy()- Specified by:
destroyin interfaceProtocol- Overrides:
destroyin classAbstractProtocol
-
getDubboProtocol(ScopeModel)instead