Package reactor.event.dispatch

Examples of reactor.event.dispatch.SynchronousDispatcher


          }
        });

    spec.env(env)
        // safest guess of Dispatcher since we don't know what's happening downstream
        .dispatcher(new SynchronousDispatcher())
        // optimize for massive throughput by using lightweight codec in server
        .codec(new DelimitedCodec<Buffer, Buffer>(false, StandardCodecs.PASS_THROUGH_CODEC))
        .listen(host, port)
        .consume(new Consumer<NetChannel<Buffer, Buffer>>() {
          @Override
View Full Code Here

TOP

Related Classes of reactor.event.dispatch.SynchronousDispatcher

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.