use of com.tvd12.ezyfoxserver.nio.builder.impl.EzyNioServerBootstrapBuilderImpl in project ezyfox-server by youngmonkeys.
the class EzyNioServerBootstrapBuilderImplTest method test.
@Test
public void test() {
EzySimpleConfig config = new EzySimpleConfig();
EzySimpleSettings settings = new EzySimpleSettings();
settings.getSocket().setCodecCreator(ExCodecCreator.class.getName());
settings.getWebsocket().setCodecCreator(ExCodecCreator.class.getName());
EzySimpleServer server = new EzySimpleServer();
server.setConfig(config);
server.setSettings(settings);
EzyNioServerBootstrapBuilderImpl builder = new EzyNioServerBootstrapBuilderImpl();
builder.server(server);
builder.build();
}
Aggregations