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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SendMessageCreate a newSendMessagewith the given command route and payload.Methods inherited from class RequestMessage
ofCloneMethods inherited from class CommonMessage
getCmdInfo, setCmdInfoMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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 Request
getAttachment, getBindingLogicServerIds, getHopCount, getStick, setAttachment, setBindingLogicServerIds, setHopCount, setStickMethods inherited from interface UserIdentity
bindingUserId, getUserId, isVerifyIdentity, setUserId, setUserIdentity, setVerifyIdentity, 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
-