com.alipay.remoting.rpc
Class RpcInvokeCallbackListener

java.lang.Object
  extended by 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.


Constructor Summary
RpcInvokeCallbackListener()
           
RpcInvokeCallbackListener(String address)
           
 
Method Summary
 String getRemoteAddress()
          Get the remote address.
 void onResponse(InvokeFuture future)
          Response arrived.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RpcInvokeCallbackListener

public RpcInvokeCallbackListener()

RpcInvokeCallbackListener

public RpcInvokeCallbackListener(String address)
Method Detail

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.