use of com.tvd12.ezyfoxserver.response.EzyResponse in project ezyfox-server by youngmonkeys.
the class EzySimpleAppUserDelegate method newExitedAppResponse.
protected EzyResponse newExitedAppResponse(EzyConstant reason) {
EzyExitedAppParams params = new EzyExitedAppParams();
EzyAppSetting appSetting = appContext.getApp().getSetting();
params.setApp(appSetting);
params.setReason(reason);
return new EzyExitedAppResponse(params);
}
use of com.tvd12.ezyfoxserver.response.EzyResponse in project ezyfox-server by youngmonkeys.
the class EzySimpleAppUserDelegate method responseUserRemoved.
protected void responseUserRemoved(EzyUser user, EzyConstant reason) {
EzyResponse response = newExitedAppResponse(reason);
EzyZoneContext zoneContext = appContext.getParent();
zoneContext.send(response, user, false);
}
Aggregations