Class EventBusMessage
java.lang.Object
com.iohao.net.framework.communication.eventbus.EventBusMessage
EventBusMessage
- Since:
- 21
- Author:
- 渔民小镇
- date:
- 2023-12-24
-
Field Summary
FieldsModifier and TypeFieldDescriptionbyte[]Information from other processesintintintlong -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFireType(int fireType) Adds the type of subscriber that has already been triggeredbooleancontainsFireType(int fireType) Checks if the type of subscriber that has already been triggered existsbooleanofClone(int serverId) voidsetEventSource(Object eventSource)
-
Field Details
-
serverId
public int serverId -
threadIndex
public long threadIndex -
traceId
-
topic
-
data
public byte[] data -
sourceServerId
public transient int sourceServerId -
eventSource
-
eventServerMessages
Information from other processes -
fireType
public transient int fireType
-
-
Constructor Details
-
EventBusMessage
public EventBusMessage()
-
-
Method Details
-
setEventSource
-
containsFireType
public boolean containsFireType(int fireType) Checks if the type of subscriber that has already been triggered exists- Parameters:
fireType-EventBusFireType- Returns:
- true if it exists
- See Also:
-
addFireType
public void addFireType(int fireType) Adds the type of subscriber that has already been triggered- Parameters:
fireType-EventBusFireType- See Also:
-
emptyFireType
public boolean emptyFireType() -
ofClone
-