Interface FlowLogicSendCommunication
- All Superinterfaces:
CommonDecorator, FlowCommon, LogicSendCommunicationDecorator
- All Known Subinterfaces:
FlowContext
- All Known Implementing Classes:
DefaultFlowContext
Flow-level fire-and-forget message sending to other logic servers.
- Since:
- 25.1
- Author:
- 渔民小镇
- date:
- 2025-10-09
-
Method Summary
Modifier and TypeMethodDescriptiondefault SendMessageofSendMessage(CmdInfo cmdInfo, byte[] data) Create aSendMessagefor the given command, copying routing fields from the current request.Methods inherited from interface CommonDecorator
getCommunicationAggregationMethods inherited from interface FlowCommon
execute, executeUser, executeVirtual, getBarSkeleton, getCmdInfo, getCommunicationType, getCurrentExecutor, getCurrentThreadExecutor, getExecutorRegion, getRequest, getServer, getServerId, getThreadIndex, getTraceId, getUserId, getUserThreadExecutor, getVirtualThreadExecutor, setMethodResult, setUserIdMethods inherited from interface LogicSendCommunicationDecorator
ofSendMessage, ofSendMessage, ofSendMessage, ofSendMessage, ofSendMessage, ofSendMessage, ofSendMessageListBool, ofSendMessageListInt, ofSendMessageListLong, ofSendMessageListString, send, send, send, send, send, send, send, send, send, sendListBool, sendListInt, sendListLong, sendListString
-
Method Details
-
ofSendMessage
Create aSendMessagefor the given command, copying routing fields from the current request.- Specified by:
ofSendMessagein interfaceLogicSendCommunicationDecorator- Parameters:
cmdInfo- the target command infodata- the encoded byte data payload- Returns:
- a new SendMessage with routing fields populated from the current request and server
-