public interface LifecycleListener
The listener interface for receiving updates when a Beat Link component is started or stopped.
Classes that depend on something (like the DeviceFinder, VirtualCdj, or
MetadataFinder) can implement this interface so they know to shut themselves
down when the subsystem they are reliant upon has done so.
| Modifier and Type | Method and Description |
|---|---|
void |
started(LifecycleParticipant sender)
Called when the subsystem has started up.
|
void |
stopped(LifecycleParticipant sender)
Called when the subsystem has shut down.
|
void started(LifecycleParticipant sender)
sender - the subsystem reporting this event, in case you want to use a single listener to hear from all of
the components you depend onvoid stopped(LifecycleParticipant sender)
sender - the subsystem reporting this event, in case you want to use a single listener to hear from all of
the components you depend onCopyright © 2016–2018 Deep Symmetry, LLC. All rights reserved.