use of com.tvd12.ezyfoxserver.client.handler.EzyEventHandlers in project ezyfox-server-android-client by youngmonkeys.
the class EzySimpleHandlerManager method newEventHandlers.
private EzyEventHandlers newEventHandlers() {
EzyEventHandlers handlers = new EzyEventHandlers(client, pingSchedule);
handlers.addHandler(EzyEventType.CONNECTION_SUCCESS, new EzyConnectionSuccessHandler());
handlers.addHandler(EzyEventType.CONNECTION_FAILURE, new EzyConnectionFailureHandler());
handlers.addHandler(EzyEventType.DISCONNECTION, new EzyDisconnectionHandler());
return handlers;
}
Aggregations