com.alipay.remoting.rpc
Class RpcInvokeCallbackListener
java.lang.Object
com.alipay.remoting.rpc.RpcInvokeCallbackListener
- All Implemented Interfaces:
- InvokeCallbackListener
public class RpcInvokeCallbackListener
- extends Object
- implements InvokeCallbackListener
Listener which listens the Rpc invoke result, and then invokes the call back.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RpcInvokeCallbackListener
public RpcInvokeCallbackListener()
RpcInvokeCallbackListener
public RpcInvokeCallbackListener(String address)
onResponse
public void onResponse(InvokeFuture future)
- Description copied from interface:
InvokeCallbackListener
- Response arrived.
- Specified by:
onResponse in interface InvokeCallbackListener
- See Also:
InvokeCallbackListener.onResponse(com.alipay.remoting.InvokeFuture)
getRemoteAddress
public String getRemoteAddress()
- Description copied from interface:
InvokeCallbackListener
- Get the remote address.
- Specified by:
getRemoteAddress in interface InvokeCallbackListener
- Returns:
- See Also:
InvokeCallbackListener.getRemoteAddress()
Copyright © 2018. All rights reserved.