public abstract class AbstractProtocol extends Object implements Protocol
public void destroy()
Protocolpublic <T> Invoker<T> refer(Class<T> type, URL url) throws RpcException
Protocolrefer 在接口中 ProtocolT - Service typetype - Service classurl - URL address for the remote serviceRpcException - when there's any error while connecting to the service providerCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.