public class RpcAsyncContext extends Object implements AsyncContext
| 构造器和说明 |
|---|
RpcAsyncContext(RemotingContext ctx,
RpcRequestCommand cmd,
RpcRequestProcessor processor)
Default constructor.
|
public RpcAsyncContext(RemotingContext ctx, RpcRequestCommand cmd, RpcRequestProcessor processor)
ctx - remoting contextcmd - rpc request commandprocessor - rpc request processorpublic void sendResponse(Object responseObject)
AsyncContextsendResponse 在接口中 AsyncContextresponseObject - response objectAsyncContext.sendResponse(java.lang.Object)Copyright © 2020. All rights reserved.