Package org.apache.dubbo.rpc.protocol
Class AbstractInvoker<T>
java.lang.Object
org.apache.dubbo.rpc.protocol.AbstractInvoker<T>
This Invoker works on Consumer side.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()get service interface.getUrl()invoke(Invocation inv) invoke.booleanbooleantoString()
-
Constructor Details
-
AbstractInvoker
-
AbstractInvoker
-
AbstractInvoker
-
-
Method Details
-
getInterface
Description copied from interface:Invokerget service interface.- Specified by:
getInterfacein interfaceInvoker<T>- Returns:
- service interface.
-
getUrl
-
isAvailable
public boolean isAvailable()- Specified by:
isAvailablein interfaceNode
-
destroy
public void destroy() -
isDestroyed
public boolean isDestroyed() -
toString
-
invoke
Description copied from interface:Invokerinvoke.- Specified by:
invokein interfaceInvoker<T>- Parameters:
inv-- Returns:
- result
- Throws:
RpcException
-