Module it.tidalwave.messagebus
Package it.tidalwave.messagebus
Interface MessageBusHelper.MethodAdapter<T>
- Type Parameters:
T- the static type of the topic
- Enclosing class:
MessageBusHelper
public static interface MessageBusHelper.MethodAdapter<T>
The binding of a listener method to a message bus, which can subscribe and unsubscribe it.
-
Method Summary
Modifier and TypeMethodDescriptionvoidSubscribes the listener method to the message bus.voidUnsubscribes the listener method from the message bus.
-
Method Details
-
subscribe
void subscribe()Subscribes the listener method to the message bus. -
unsubscribe
void unsubscribe()Unsubscribes the listener method from the message bus.
-