Interface LauncherEvent

All Known Implementing Classes:
LauncherEvent.AgentUpdated, LauncherEvent.ClientExited, LauncherEvent.ClientStarted, LauncherEvent.ClientStateChanged, LauncherEvent.DataUpdateApplied, LauncherEvent.DataUpdateAvailable, LauncherEvent.EventsDropped, LauncherEvent.LicenceChanged, LauncherEvent.ServiceLost, LauncherEvent.ServiceRestored, LauncherEvent.ServiceShuttingDown

Something the launcher service reported, or a change in the host's link to it. Delivered through ClientLauncher.onEvent(java.util.function.Consumer).

The first eight mirror the service's events. The last three are the host's own: LauncherEvent.ServiceLost once per loss of the service, LauncherEvent.ServiceRestored when it is back (never for the first connection), and LauncherEvent.EventsDropped when events were missed. After either of the last two, call ClientLauncher.clients() to see where things stand: missed events are not replayed.