public class InvokerWrapper<T> extends Object implements Invoker<T>
| Constructor and Description |
|---|
InvokerWrapper(Invoker<T> invoker,
URL url) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
destroy.
|
Class<T> |
getInterface()
get service interface.
|
URL |
getUrl()
get url.
|
Result |
invoke(Invocation invocation)
invoke.
|
boolean |
isAvailable()
is available.
|
public Class<T> getInterface()
InvokergetInterface in interface Invoker<T>public boolean isAvailable()
NodeisAvailable in interface Nodepublic Result invoke(Invocation invocation) throws RpcException
Invokerinvoke in interface Invoker<T>RpcExceptionCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.