Package org.apache.dubbo.qos.protocol
Class QosProtocolWrapper
java.lang.Object
org.apache.dubbo.qos.protocol.QosProtocolWrapper
- All Implemented Interfaces:
ScopeModelAware,org.apache.dubbo.rpc.Protocol
@Activate(order=200)
public class QosProtocolWrapper
extends Object
implements org.apache.dubbo.rpc.Protocol, ScopeModelAware
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()<T> org.apache.dubbo.rpc.Exporter<T> export(org.apache.dubbo.rpc.Invoker<T> invoker) intList<org.apache.dubbo.rpc.ProtocolServer> <T> org.apache.dubbo.rpc.Invoker<T> voidsetFrameworkModel(FrameworkModel frameworkModel) Methods 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
-
Constructor Details
-
QosProtocolWrapper
public QosProtocolWrapper(org.apache.dubbo.rpc.Protocol protocol)
-
-
Method Details
-
setFrameworkModel
- Specified by:
setFrameworkModelin interfaceScopeModelAware
-
getDefaultPort
public int getDefaultPort()- Specified by:
getDefaultPortin interfaceorg.apache.dubbo.rpc.Protocol
-
export
public <T> org.apache.dubbo.rpc.Exporter<T> export(org.apache.dubbo.rpc.Invoker<T> invoker) throws org.apache.dubbo.rpc.RpcException - Specified by:
exportin interfaceorg.apache.dubbo.rpc.Protocol- Throws:
org.apache.dubbo.rpc.RpcException
-
refer
public <T> org.apache.dubbo.rpc.Invoker<T> refer(Class<T> type, URL url) throws org.apache.dubbo.rpc.RpcException - Specified by:
referin interfaceorg.apache.dubbo.rpc.Protocol- Throws:
org.apache.dubbo.rpc.RpcException
-
destroy
public void destroy()- Specified by:
destroyin interfaceorg.apache.dubbo.rpc.Protocol
-
getServers
- Specified by:
getServersin interfaceorg.apache.dubbo.rpc.Protocol
-