use of com.tvd12.ezyfoxserver.client.manager.EzyAppManager in project ezyfox-server-android-client by youngmonkeys.
the class EzyAppAccessHandler method handle.
@Override
public void handle(EzyArray data) {
EzyZone zone = client.getZone();
EzyAppManager appManager = zone.getAppManager();
EzyApp app = newApp(zone, data);
appManager.addApp(app);
postHandle(app, data);
}
use of com.tvd12.ezyfoxserver.client.manager.EzyAppManager 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