| 限定符和类型 | 方法和说明 |
|---|---|
RemotingCommand |
RequestProcessor.processRequest(RemotingChannel channel,
RemotingCommand request) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
RemotingServer.invokeAsync(RemotingChannel remotingChannel,
RemotingCommand request,
AsyncHandler asyncHandler,
long timeoutMillis) |
default void |
RemotingClient.invokeAsync(String address,
RemotingCommand request,
AsyncHandler asyncHandler,
long timeoutMillis) |
void |
RemotingClient.invokeAsync(String address,
String uri,
RemotingCommand request,
AsyncHandler asyncHandler,
long timeoutMillis) |
void |
RemotingServer.invokeOneWay(RemotingChannel remotingChannel,
RemotingCommand request) |
default void |
RemotingClient.invokeOneWay(String address,
RemotingCommand request) |
void |
RemotingClient.invokeOneWay(String address,
String uri,
RemotingCommand request) |
void |
AsyncHandler.onFailure(RemotingCommand request,
Throwable cause) |
void |
AsyncHandler.onSuccess(RemotingCommand response) |
RemotingCommand |
RequestProcessor.processRequest(RemotingChannel channel,
RemotingCommand request) |
void |
RemotingHandlerContext.reply(RemotingCommand response) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
RemotingChannel.reply(RemotingCommand command)
Writes a response
RemotingCommand to remote. |
void |
RemotingChannel.reply(RemotingCommand command,
ChannelListener listener)
Writes a response
RemotingCommand to remote. |
| 限定符和类型 | 方法和说明 |
|---|---|
RemotingCommand |
RemotingCommand.cmdCode(int code) |
RemotingCommand |
RemotingCommand.cmdVersion(int version) |
RemotingCommand |
RemotingCommandFactory.createRequest() |
RemotingCommand |
RemotingCommandFactory.createResponse(RemotingCommand command) |
RemotingCommand |
RemotingCommand.opCode(int value) |
RemotingCommand |
RemotingCommand.payload(Payload payload) |
RemotingCommand |
RemotingCommand.property(String key,
String value) |
RemotingCommand |
RemotingCommand.remark(String value) |
RemotingCommand |
RemotingCommand.requestID(int value) |
RemotingCommand |
RemotingCommand.trafficType(TrafficType value) |
| 限定符和类型 | 方法和说明 |
|---|---|
RemotingCommand |
RemotingCommandFactory.createResponse(RemotingCommand command) |
| 限定符和类型 | 字段和说明 |
|---|---|
protected RemotingCommand |
RequestContext.request |
| 限定符和类型 | 方法和说明 |
|---|---|
RemotingCommand |
RequestContext.getRequest() |
RemotingCommand |
ResponseContext.getResponse() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
RequestContext.setRequest(RemotingCommand request) |
void |
ResponseContext.setResponse(RemotingCommand response) |
| 构造器和说明 |
|---|
RequestContext(RemotingEndPoint remotingEndPoint,
String remoteAddr,
RemotingCommand request) |
ResponseContext(RemotingEndPoint remotingEndPoint,
String remoteAddr,
RemotingCommand request,
RemotingCommand response) |
Copyright © 2021–2022. All rights reserved.