Search in sources :

Example 1 with EzyAppDataHandlers

use of com.tvd12.ezyfoxserver.client.handler.EzyAppDataHandlers in project ezyfox-server-android-client by youngmonkeys.

the class EzySimpleSetup method setupApp.

@Override
public EzyAppSetup setupApp(String appName) {
    EzyAppSetup appSetup = appSetups.get(appName);
    if (appSetup == null) {
        EzyAppDataHandlers dataHandlers = handlerManager.getAppDataHandlers(appName);
        appSetup = new EzySimpleAppSetup(dataHandlers, this);
        appSetups.put(appName, appSetup);
    }
    return appSetup;
}
Also used : EzyAppDataHandlers(com.tvd12.ezyfoxserver.client.handler.EzyAppDataHandlers)

Example 2 with EzyAppDataHandlers

use of com.tvd12.ezyfoxserver.client.handler.EzyAppDataHandlers in project ezyfox-server-android-client by youngmonkeys.

the class EzySimpleHandlerManager method getAppDataHandlers.

@Override
public EzyAppDataHandlers getAppDataHandlers(String appName) {
    EzyAppDataHandlers answer = appDataHandlerss.get(appName);
    if (answer == null) {
        answer = new EzyAppDataHandlers();
        appDataHandlerss.put(appName, answer);
    }
    return answer;
}
Also used : EzyAppDataHandlers(com.tvd12.ezyfoxserver.client.handler.EzyAppDataHandlers)

Aggregations

EzyAppDataHandlers (com.tvd12.ezyfoxserver.client.handler.EzyAppDataHandlers)2