Package net.engio.mbassy.bus
Interface IMessagePublication
-
- All Known Implementing Classes:
MessagePublication
public interface IMessagePublication
A 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 void
execute()
PublicationError
getError()
java.lang.Object
getMessage()
boolean
hasError()
boolean
isDeadMessage()
boolean
isFilteredMessage()
boolean
isFinished()
boolean
isRunning()
boolean
isScheduled()
-
-
-
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()
-
-