org.qi4j.library.eventsourcing.application.source
Interface ApplicationEventStream

All Known Implementing Classes:
AbstractApplicationEventStoreMixin

public interface ApplicationEventStream

Stream of event transactions. Registering with a stream will allow the subscriber to get callbacks when new transactions are available. The callbacks are done asynchronously.


Method Summary
 void registerListener(Output<TransactionApplicationEvents,? extends Throwable> listener)
           
 void unregisterListener(Output<TransactionApplicationEvents,? extends Throwable> listener)
           
 

Method Detail

registerListener

void registerListener(Output<TransactionApplicationEvents,? extends Throwable> listener)

unregisterListener

void unregisterListener(Output<TransactionApplicationEvents,? extends Throwable> listener)