Class Event<T>
java.lang.Object
com.northconcepts.datapipeline.eventbus.Event<T>
A method call made on an
EventBus publisher, captured with its arguments for delivery to the bus's listeners.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObject[]Returns the arguments passed to the listener method ornullif the method takes none.Returns the listener interface whose method was called on the publisher.Returns the publisher proxy whose method call produced this event.Returns the source the publisher was created with ornullif it has none.Returns the listener method called on the publisher; typed listeners receive the event as a call to the same method.longReturns the 1-based order in which this event was published on its bus or 0 if it has not been published.getTopic()Returns the topic the publisher was created with ornullif it has none.toString()
-
Constructor Details
-
Event
-
-
Method Details
-
getSequence
public long getSequence()Returns the 1-based order in which this event was published on its bus or 0 if it has not been published. -
getEventSource
Returns the source the publisher was created with ornullif it has none. -
getEventPublisher
Returns the publisher proxy whose method call produced this event. -
getEventListenerClass
Returns the listener interface whose method was called on the publisher. -
getTopic
Returns the topic the publisher was created with ornullif it has none. -
getMethod
Returns the listener method called on the publisher; typed listeners receive the event as a call to the same method. -
getArguments
Returns the arguments passed to the listener method ornullif the method takes none. -
toString
-