Package net.engio.mbassy.listener
-
Interface Summary Interface Description IMessageFilter<M> Message filters can be used to control what messages are delivered to a specific message handler. -
Class Summary Class Description Filters A set of standard filters for common use cases.Filters.RejectSubtypes This filter will only accept messages of the exact same type as specified for the handler.Filters.SubtypesOnly This filter will only accept messages that are real subtypes of the specified message types handled by the message handler.MessageHandler Any method in any class annotated with the @Handler annotation represents a message handler.MessageHandler.Properties MessageListener<T> All instances of any class defining at least one message handler @link MessageHandler are message listeners.MetadataReader The meta data reader is responsible for parsing and validating message handler configurations. -
Enum Summary Enum Description Invoke Created with IntelliJ IDEA.References -
Annotation Types Summary Annotation Type Description Enveloped Configure a handler to receive an enveloped message as a wrapper around the source message.Filter The filter annotation is used to add filters to message listeners.Handler Mark any method of any class(=listener) as a message handler and configure the handler using different properties.IncludeFilters The include filters directive can be used to add multipleFilter
s to a singleannotation type
.Listener Configure how the listener is referenced in the event bus.Synchronized A handler marked with this annotation is guaranteed to be invoked in a thread-safe manner, that is, no other running message publication will be able to invoke this or any other synchronized handler of the same listener until the handler completed.