Search in sources :

Example 1 with LoggedOutEvent

use of com.faforever.client.user.event.LoggedOutEvent in project downlords-faf-client by FAForever.

the class UserServiceImpl method logOut.

@Override
public void logOut() {
    logger.info("Logging out");
    fafService.disconnect();
    eventBus.post(new LoggedOutEvent());
    preferencesService.getPreferences().getLogin().setAutoLogin(false);
}
Also used : LoggedOutEvent(com.faforever.client.user.event.LoggedOutEvent)

Aggregations

LoggedOutEvent (com.faforever.client.user.event.LoggedOutEvent)1