public abstract class AbstractProtocol extends Object implements Protocol
| Constructor and Description |
|---|
AbstractProtocol() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroy protocol:
1. |
<T> Invoker<T> |
refer(Class<T> type,
URL url)
Refer a remote service:
1. |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexport, getDefaultPortpublic void destroy()
Protocolpublic <T> Invoker<T> refer(Class<T> type, URL url) throws RpcException
Protocolrefer in interface 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.