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 Details

    • QosProtocolWrapper

      public QosProtocolWrapper(org.apache.dubbo.rpc.Protocol protocol)
  • Method Details

    • setFrameworkModel

      public void setFrameworkModel(FrameworkModel frameworkModel)
      Specified by:
      setFrameworkModel in interface ScopeModelAware
    • getDefaultPort

      public int getDefaultPort()
      Specified by:
      getDefaultPort in interface org.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:
      export in interface org.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:
      refer in interface org.apache.dubbo.rpc.Protocol
      Throws:
      org.apache.dubbo.rpc.RpcException
    • destroy

      public void destroy()
      Specified by:
      destroy in interface org.apache.dubbo.rpc.Protocol
    • getServers

      public List<org.apache.dubbo.rpc.ProtocolServer> getServers()
      Specified by:
      getServers in interface org.apache.dubbo.rpc.Protocol