Search in sources :

Example 1 with EzyResponseApiAware

use of com.tvd12.ezyfoxserver.api.EzyResponseApiAware in project ezyfox-server by youngmonkeys.

the class EzyNioServerBootstrap method setupServer.

@Override
protected void setupServer() {
    EzyServer server = getServer();
    ((EzyResponseApiAware) server).setResponseApi(responseApi);
    ((EzyStreamingApiAware) server).setStreamingApi(streamingApi);
}
Also used : EzyStreamingApiAware(com.tvd12.ezyfoxserver.api.EzyStreamingApiAware) EzyResponseApiAware(com.tvd12.ezyfoxserver.api.EzyResponseApiAware) EzyServer(com.tvd12.ezyfoxserver.EzyServer)

Aggregations

EzyServer (com.tvd12.ezyfoxserver.EzyServer)1 EzyResponseApiAware (com.tvd12.ezyfoxserver.api.EzyResponseApiAware)1 EzyStreamingApiAware (com.tvd12.ezyfoxserver.api.EzyStreamingApiAware)1