| Modifier and Type | Method and Description |
|---|---|
RpcMessage |
MessageFuture.getRequestMessage()
Gets request message.
|
RpcMessage |
RpcMessage.setCodec(byte codec)
Sets codec.
|
RpcMessage |
RpcMessage.setCompressor(byte compressor)
Sets compressor.
|
RpcMessage |
RpcMessage.setHeadMap(Map<String,String> headMap)
Sets head map.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MessageFuture.setRequestMessage(RpcMessage requestMessage)
Sets request message.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ServerMessageListener.onCheckMessage(RpcMessage request,
io.netty.channel.ChannelHandlerContext ctx)
Deprecated.
On check message.
|
void |
DefaultServerMessageListenerImpl.onCheckMessage(RpcMessage request,
io.netty.channel.ChannelHandlerContext ctx)
Deprecated.
|
void |
ClientMessageListener.onMessage(RpcMessage request,
String serverAddress)
Deprecated.
On message.
|
void |
ServerMessageListener.onRegRmMessage(RpcMessage request,
io.netty.channel.ChannelHandlerContext ctx,
RegisterCheckAuthHandler checkAuthHandler)
Deprecated.
On reg rm message.
|
void |
DefaultServerMessageListenerImpl.onRegRmMessage(RpcMessage request,
io.netty.channel.ChannelHandlerContext ctx,
RegisterCheckAuthHandler checkAuthHandler)
Deprecated.
|
void |
ServerMessageListener.onRegTmMessage(RpcMessage request,
io.netty.channel.ChannelHandlerContext ctx,
RegisterCheckAuthHandler checkAuthHandler)
Deprecated.
On reg tm message.
|
void |
DefaultServerMessageListenerImpl.onRegTmMessage(RpcMessage request,
io.netty.channel.ChannelHandlerContext ctx,
RegisterCheckAuthHandler checkAuthHandler)
Deprecated.
|
void |
ServerMessageListener.onTrxMessage(RpcMessage request,
io.netty.channel.ChannelHandlerContext ctx)
Deprecated.
On trx message.
|
void |
DefaultServerMessageListenerImpl.onTrxMessage(RpcMessage request,
io.netty.channel.ChannelHandlerContext ctx)
Deprecated.
|
void |
RemotingServer.sendAsyncResponse(RpcMessage rpcMessage,
io.netty.channel.Channel channel,
Object msg)
server send async response.
|
void |
RemotingClient.sendAsyncResponse(String serverAddress,
RpcMessage rpcMessage,
Object msg)
client send async response.
|
void |
ServerMessageSender.sendResponse(RpcMessage request,
io.netty.channel.Channel channel,
Object msg)
Deprecated.
Send response.
|
void |
ClientMessageSender.sendResponse(RpcMessage request,
String serverAddress,
Object msg)
Deprecated.
Send response.
|
| Modifier and Type | Method and Description |
|---|---|
void |
StatusRpcHook.doAfterResponse(String remoteAddr,
RpcMessage request,
Object response) |
void |
RpcHook.doAfterResponse(String remoteAddr,
RpcMessage request,
Object response) |
void |
StatusRpcHook.doBeforeRequest(String remoteAddr,
RpcMessage request) |
void |
RpcHook.doBeforeRequest(String remoteAddr,
RpcMessage request) |
| Modifier and Type | Field and Description |
|---|---|
protected ConcurrentHashMap<String,BlockingQueue<RpcMessage>> |
AbstractNettyRemotingClient.basketMap
When batch sending is enabled, the message will be stored to basketMap
Send via asynchronous thread
AbstractNettyRemotingClient.MergedSendRunnable
AbstractNettyRemotingClient.isEnableClientBatchSendRequest() |
| Modifier and Type | Method and Description |
|---|---|
protected RpcMessage |
AbstractNettyRemoting.buildRequestMessage(Object msg,
byte messageType) |
protected RpcMessage |
AbstractNettyRemoting.buildResponseMessage(RpcMessage rpcMessage,
Object msg,
byte messageType) |
| Modifier and Type | Method and Description |
|---|---|
protected RpcMessage |
AbstractNettyRemoting.buildResponseMessage(RpcMessage rpcMessage,
Object msg,
byte messageType) |
protected void |
AbstractNettyRemoting.doAfterRpcHooks(String remoteAddr,
RpcMessage request,
Object response) |
protected void |
AbstractNettyRemoting.doBeforeRpcHooks(String remoteAddr,
RpcMessage request) |
protected void |
AbstractNettyRemoting.processMessage(io.netty.channel.ChannelHandlerContext ctx,
RpcMessage rpcMessage)
Rpc message processing.
|
protected void |
AbstractNettyRemoting.sendAsync(io.netty.channel.Channel channel,
RpcMessage rpcMessage)
rpc async request.
|
void |
AbstractNettyRemotingServer.sendAsyncResponse(RpcMessage rpcMessage,
io.netty.channel.Channel channel,
Object msg) |
void |
AbstractNettyRemotingClient.sendAsyncResponse(String serverAddress,
RpcMessage rpcMessage,
Object msg) |
protected Object |
AbstractNettyRemoting.sendSync(io.netty.channel.Channel channel,
RpcMessage rpcMessage,
long timeoutMillis)
rpc sync request
Obtain the return result through MessageFuture blocking.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RemotingProcessor.process(io.netty.channel.ChannelHandlerContext ctx,
RpcMessage rpcMessage)
Process message
|
| Modifier and Type | Method and Description |
|---|---|
void |
RmUndoLogProcessor.process(io.netty.channel.ChannelHandlerContext ctx,
RpcMessage rpcMessage) |
void |
RmBranchRollbackProcessor.process(io.netty.channel.ChannelHandlerContext ctx,
RpcMessage rpcMessage) |
void |
ClientHeartbeatProcessor.process(io.netty.channel.ChannelHandlerContext ctx,
RpcMessage rpcMessage) |
void |
ClientOnResponseProcessor.process(io.netty.channel.ChannelHandlerContext ctx,
RpcMessage rpcMessage) |
void |
RmBranchCommitProcessor.process(io.netty.channel.ChannelHandlerContext ctx,
RpcMessage rpcMessage) |
| Modifier and Type | Method and Description |
|---|---|
void |
ServerHeartbeatProcessor.process(io.netty.channel.ChannelHandlerContext ctx,
RpcMessage rpcMessage) |
void |
RegRmProcessor.process(io.netty.channel.ChannelHandlerContext ctx,
RpcMessage rpcMessage) |
void |
ServerOnResponseProcessor.process(io.netty.channel.ChannelHandlerContext ctx,
RpcMessage rpcMessage) |
void |
ServerOnRequestProcessor.process(io.netty.channel.ChannelHandlerContext ctx,
RpcMessage rpcMessage) |
void |
RegTmProcessor.process(io.netty.channel.ChannelHandlerContext ctx,
RpcMessage rpcMessage) |
Copyright © 2023 Seata. All rights reserved.