use of com.tvd12.ezyfoxserver.client.entity.EzyZoneAware in project ezyfox-server-android-client by youngmonkeys.
the class EzyLoginSuccessHandler method handle.
@Override
public void handle(EzyArray data) {
EzyData responseData = data.get(4, EzyData.class);
EzyUser user = newUser(data);
EzyZone zone = newZone(data);
((EzyMeAware) client).setMe(user);
((EzyZoneAware) client).setZone(zone);
handleLoginSuccess(responseData);
EzyLogger.debug("user: " + user + " logged in successfully");
}
Aggregations