Package net.engio.mbassy.bus
Interface IMessagePublication
-
- All Known Implementing Classes:
MessagePublication
public interface IMessagePublicationA message publication is created for each asynchronous message dispatch. It reflects the state of the corresponding message publication process, i.e. provides information whether the publication was successfully scheduled, is currently running etc. A message publication lives within a single thread. It is not designed in a thread-safe manner -> not eligible to be used in multiple threads simultaneously .
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidexecute()PublicationErrorgetError()java.lang.ObjectgetMessage()booleanhasError()booleanisDeadMessage()booleanisFilteredMessage()booleanisFinished()booleanisRunning()booleanisScheduled()
-
-
-
Method Detail
-
execute
void execute()
-
isFinished
boolean isFinished()
-
isRunning
boolean isRunning()
-
isScheduled
boolean isScheduled()
-
hasError
boolean hasError()
-
getError
PublicationError getError()
-
isDeadMessage
boolean isDeadMessage()
-
isFilteredMessage
boolean isFilteredMessage()
-
getMessage
java.lang.Object getMessage()
-
-