private static XnioWorker worker;
@BeforeClass
public static void setup() throws IOException {
DefaultServer.setRootHandler(AutobahnWebSocketServer.getRootHandler());
Xnio xnio = Xnio.getInstance(DefaultServer.class.getClassLoader());
worker = xnio.createWorker(OptionMap.builder()
.set(Options.WORKER_IO_THREADS, 2)
.set(Options.CONNECTION_HIGH_WATER, 1000000)
.set(Options.CONNECTION_LOW_WATER, 1000000)
.set(Options.WORKER_TASK_CORE_THREADS, 30)
.set(Options.WORKER_TASK_MAX_THREADS, 30)