com.alipay.remoting.rpc.protocol
Class RpcAsyncContext

java.lang.Object
  extended by com.alipay.remoting.rpc.protocol.RpcAsyncContext
All Implemented Interfaces:
AsyncContext

public class RpcAsyncContext
extends Object
implements AsyncContext

Async biz context of Rpc.


Constructor Summary
RpcAsyncContext(RemotingContext ctx, RpcRequestCommand cmd, RpcRequestProcessor processor)
          Default constructor.
 
Method Summary
 void sendResponse(Object responseObject)
          send response back
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RpcAsyncContext

public RpcAsyncContext(RemotingContext ctx,
                       RpcRequestCommand cmd,
                       RpcRequestProcessor processor)
Default constructor.

Parameters:
ctx -
cmd -
Method Detail

sendResponse

public void sendResponse(Object responseObject)
Description copied from interface: AsyncContext
send response back

Specified by:
sendResponse in interface AsyncContext
See Also:
AsyncContext.sendResponse(java.lang.Object)


Copyright © 2018. All rights reserved.