| Constructor and Description |
|---|
ConsumerInvokerWrapper(Invoker<T> invoker,
URL registryUrl,
URL consumerUrl,
RegistryDirectory registryDirectory) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
destroy.
|
URL |
getConsumerUrl() |
Class<T> |
getInterface()
get service interface.
|
Invoker<T> |
getInvoker() |
URL |
getOriginUrl() |
RegistryDirectory |
getRegistryDirectory() |
URL |
getRegistryUrl() |
URL |
getUrl()
get url.
|
Result |
invoke(Invocation invocation)
invoke.
|
boolean |
isAvailable()
is available.
|
public ConsumerInvokerWrapper(Invoker<T> invoker, URL registryUrl, URL consumerUrl, RegistryDirectory registryDirectory)
public Class<T> getInterface()
InvokergetInterface in interface Invokerpublic boolean isAvailable()
NodeisAvailable in interface Nodepublic Result invoke(Invocation invocation) throws RpcException
Invokerinvoke in interface InvokerRpcExceptionpublic void destroy()
Nodepublic URL getOriginUrl()
public URL getRegistryUrl()
public URL getConsumerUrl()
public RegistryDirectory getRegistryDirectory()
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.