Package org.javasimon.callback

Callback is an event listener registered with the Manager, listening for manager or Simon events.

See: Description

Package org.javasimon.callback Description

Callback is an event listener registered with the Manager, listening for manager or Simon events. Any number of callbacks can be registered on a manager using Manager.callback() and CompositeCallback.addCallback(Callback).

Non-composite callbacks are used to perform expected actions for particular events. CallbackSkeleton can be extended if only selected events are desired to be implemented instead of implementating the whole Callback interface.

Composite callbacks are used to organize other callbacks in trees and then to delegate all events to them. It is not recommended to mix composite callbacks with functionality, generally it should not be necessary to implement composite callbacks in addition to the following two provided implementations:

Copyright © 2019. All rights reserved.