Class SendMessage
java.lang.Object
com.iohao.net.framework.protocol.CommonMessage
com.iohao.net.framework.protocol.RequestMessage
com.iohao.net.framework.protocol.SendMessage
- All Implemented Interfaces:
FutureMessage, RemoteMessage, Request, UserIdentity
Fire-and-forget request message for one-way logic-to-logic server communication.
Extends RequestMessage without expecting a response. Used when a logic server
needs to notify another logic server of an event or trigger an action without waiting
for a result.
- Since:
- 25.1
- Author:
- 渔民小镇
- date:
- 2025-09-02
-
Field Summary
Fields inherited from class CommonMessage
cmdMerge, data, externalServerId, futureId, logicServerId, nanoTime, netId, outputError, sourceServerId, traceId -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SendMessageCreate a newSendMessagewith the given command route and payload.Methods inherited from class RequestMessage
getAttachment, getBindingLogicServerIds, getHopCount, getUserId, isVerifyIdentity, ofClone, setAttachment, setBindingLogicServerIds, setHopCount, setUserId, setVerifyIdentityMethods inherited from class CommonMessage
getCmdInfo, getCmdMerge, getData, getExternalServerId, getFutureId, getLogicServerId, getNanoTime, getNetId, getOutputError, getSourceServerId, getTraceId, setCmdInfo, setCmdMerge, setData, setExternalServerId, setFutureId, setLogicServerId, setNanoTime, setNetId, setOutputError, setSourceServerId, setTraceId, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface FutureMessage
getFutureId, setFutureIdMethods inherited from interface RemoteMessage
getCmdInfo, getCmdMerge, getData, getExternalServerId, getLogicServerId, getNanoTime, getNetId, getSourceServerId, getTraceId, setCmdInfo, setCmdMerge, setData, setExternalServerId, setLogicServerId, setNanoTime, setNetId, setOutputError, setSourceServerId, setTraceIdMethods inherited from interface UserIdentity
bindingUserId, setUserIdentity, verifyIdentity
-
Constructor Details
-
SendMessage
public SendMessage()
-
-
Method Details
-
of
Create a newSendMessagewith the given command route and payload.- Parameters:
cmdInfo- the command route descriptordata- the serialized payload- Returns:
- a new send message
-