public abstract class AbstractProxyProtocol extends AbstractProtocol
| Constructor and Description |
|---|
AbstractProxyProtocol() |
AbstractProxyProtocol(Class<?>... exceptions) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRpcException(Class<?> exception) |
<T> Exporter<T> |
export(Invoker<T> invoker)
Export service for remote invocation:
1. |
ProxyFactory |
getProxyFactory() |
void |
setProxyFactory(ProxyFactory proxyFactory) |
destroy, getExporterMap, getExporters, getServers, referequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefaultPortpublic AbstractProxyProtocol()
public AbstractProxyProtocol(Class<?>... exceptions)
public void addRpcException(Class<?> exception)
public ProxyFactory getProxyFactory()
public void setProxyFactory(ProxyFactory proxyFactory)
public <T> Exporter<T> export(Invoker<T> invoker) throws RpcException
ProtocolT - Service typeinvoker - Service invokerRpcException - thrown when error occurs during export the service, for example: port is occupiedCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.