use of com.tvd12.ezyfoxserver.EzyZone in project ezyfox-server-android-client by youngmonkeys.
the class EzyAppExitHandler method handle.
@Override
public void handle(EzyArray data) {
EzyZone zone = client.getZone();
EzyAppManager appManager = zone.getAppManager();
int appId = data.get(0, int.class);
int reasonId = data.get(1, int.class);
EzyApp app = appManager.removeApp(appId);
EzyLogger.info("user exit app: " + app + " reason: " + reasonId);
postHandle(app, data);
}
Aggregations