com.alipay.remoting.rpc.protocol
Class RpcAsyncContext
java.lang.Object
com.alipay.remoting.rpc.protocol.RpcAsyncContext
- All Implemented Interfaces:
- AsyncContext
public class RpcAsyncContext
- extends Object
- implements AsyncContext
Async biz context of Rpc.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RpcAsyncContext
public RpcAsyncContext(RemotingContext ctx,
RpcRequestCommand cmd,
RpcRequestProcessor processor)
- Default constructor.
- Parameters:
ctx - cmd -
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.