public class QosProtocolWrapper extends Object implements org.apache.dubbo.rpc.Protocol
| Constructor and Description |
|---|
QosProtocolWrapper(org.apache.dubbo.rpc.Protocol protocol) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
<T> org.apache.dubbo.rpc.Exporter<T> |
export(org.apache.dubbo.rpc.Invoker<T> invoker) |
int |
getDefaultPort() |
List<org.apache.dubbo.rpc.ProtocolServer> |
getServers() |
<T> org.apache.dubbo.rpc.Invoker<T> |
refer(Class<T> type,
URL url) |
public QosProtocolWrapper(org.apache.dubbo.rpc.Protocol protocol)
public int getDefaultPort()
getDefaultPort in interface org.apache.dubbo.rpc.Protocolpublic <T> org.apache.dubbo.rpc.Exporter<T> export(org.apache.dubbo.rpc.Invoker<T> invoker)
throws org.apache.dubbo.rpc.RpcException
export in interface org.apache.dubbo.rpc.Protocolorg.apache.dubbo.rpc.RpcExceptionpublic <T> org.apache.dubbo.rpc.Invoker<T> refer(Class<T> type, URL url) throws org.apache.dubbo.rpc.RpcException
refer in interface org.apache.dubbo.rpc.Protocolorg.apache.dubbo.rpc.RpcExceptionpublic void destroy()
destroy in interface org.apache.dubbo.rpc.Protocolpublic List<org.apache.dubbo.rpc.ProtocolServer> getServers()
getServers in interface org.apache.dubbo.rpc.ProtocolCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.