Interface CommunicationMessage
- All Superinterfaces:
CommonResponse, FutureMessage, RemoteMessage, Request, UserIdentity
- All Known Implementing Classes:
AbstractCommunicationMessage, ExternalMessage
- Since:
- 25.1
- Author:
- 渔民小镇
- date:
- 2025-09-24
-
Method Summary
Modifier and TypeMethodDescriptionintintdefault CmdInfointbyte[]getData()intgetMsgId()intvoidsetCacheCondition(int cacheCondition) voidsetCmdCode(int cmdCode) voidsetCmdMerge(int cmdMerge) voidsetData(byte[] data) voidsetMsgId(int msgId) voidsetProtocolSwitch(int protocolSwitch) Methods inherited from interface CommonResponse
getErrorCode, getErrorMessage, hasError, isSuccess, setError, setErrorCode, setErrorMessageMethods inherited from interface FutureMessage
getFutureId, setFutureIdMethods inherited from interface RemoteMessage
getExternalServerId, getLogicServerId, getNanoTime, getNetId, getSourceServerId, getTraceId, setCmdInfo, 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
-
Method Details
-
getCmdCode
int getCmdCode() -
setCmdCode
void setCmdCode(int cmdCode) -
getProtocolSwitch
int getProtocolSwitch() -
setProtocolSwitch
void setProtocolSwitch(int protocolSwitch) -
getCmdMerge
int getCmdMerge()- Specified by:
getCmdMergein interfaceRemoteMessage
-
setCmdMerge
void setCmdMerge(int cmdMerge) - Specified by:
setCmdMergein interfaceRemoteMessage
-
getData
byte[] getData()- Specified by:
getDatain interfaceRemoteMessage
-
setData
void setData(byte[] data) - Specified by:
setDatain interfaceRemoteMessage
-
getMsgId
int getMsgId() -
setMsgId
void setMsgId(int msgId) -
getCacheCondition
int getCacheCondition() -
setCacheCondition
void setCacheCondition(int cacheCondition) -
getCmdInfo
- Specified by:
getCmdInfoin interfaceRemoteMessage
-