| 构造器和说明 |
|---|
ProtocolFilterWrapper(Protocol protocol) |
public ProtocolFilterWrapper(Protocol protocol)
public int getDefaultPort()
ProtocolgetDefaultPort 在接口中 Protocolpublic <T> Exporter<T> export(Invoker<T> invoker) throws RpcException
Protocolexport 在接口中 ProtocolT - Service typeinvoker - Service invokerRpcException - thrown when error occurs during export the service, for example: port is occupiedpublic <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 providerpublic void destroy()
ProtocolCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.