public class MessageContext extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
MessageContext.RequestType |
| 构造器和说明 |
|---|
MessageContext(MessageContext.RequestType requestType) |
| 限定符和类型 | 方法和说明 |
|---|---|
IAsyncCallback |
getCallback() |
Condition |
getCondition() |
ReentrantLock |
getLock() |
Request |
getRequest() |
MessageContext.RequestType |
getRequestType() |
Response |
getResponse() |
Long |
getTaskId() |
void |
setCallback(IAsyncCallback callback) |
void |
setRequest(Request request) |
void |
setRequestType(MessageContext.RequestType requestType) |
void |
setResponse(Response response) |
void |
setTaskId(Long taskId) |
public MessageContext(MessageContext.RequestType requestType)
public Request getRequest()
public void setRequest(Request request)
public Response getResponse()
public void setResponse(Response response)
public MessageContext.RequestType getRequestType()
public void setRequestType(MessageContext.RequestType requestType)
public IAsyncCallback getCallback()
public void setCallback(IAsyncCallback callback)
public Condition getCondition()
public ReentrantLock getLock()
public Long getTaskId()
public void setTaskId(Long taskId)
Copyright © 2022. All rights reserved.