CommandPublisher

Notifies CommandSubscriber s.

API

CommandPublisher.java
interface CommandPublisher {
  void ready(Command command)     (1)
  void start(Command command)     (2)
  void complete(Command command)     (3)
}
1 ready(Command)

Notifies all CommandSubscriber s (through CommandSubscriber#onReady(Command) ) that the Command has been created/is ready for execution

2 start(Command)

Notifies all CommandSubscriber s (through CommandSubscriber#onStarted(Command) ) that the Command has started.

3 complete(Command)

Notifies all CommandSubscriber s (through CommandSubscriber#onCompleted(Command) ) that the Command has completed.

Members

ready(Command)

Notifies all CommandSubscriber s (through CommandSubscriber#onReady(Command) ) that the Command has been created/is ready for execution

start(Command)

Notifies all CommandSubscriber s (through CommandSubscriber#onStarted(Command) ) that the Command has started.

complete(Command)

Notifies all CommandSubscriber s (through CommandSubscriber#onCompleted(Command) ) that the Command has completed.