Package com.facebook.nifty.header.protocol

Examples of com.facebook.nifty.header.protocol.TDuplexHeaderProtocolFactory


                new ThriftServer(
                        processor,
                        config,
                        new NiftyTimer("thrift"),
                        ImmutableMap.<String, ThriftFrameCodecFactory>of("header", new HeaderThriftCodecFactory()),
                        ImmutableMap.<String, TDuplexProtocolFactory>of("header", new TDuplexHeaderProtocolFactory()),
                        ImmutableMap.<String, ExecutorService>of(),
                        new NiftyNoOpSecurityFactory());

        fb303Handler.setShutdownHandler(new ServerShutdownHandler(server));
        server.start();
View Full Code Here

TOP

Related Classes of com.facebook.nifty.header.protocol.TDuplexHeaderProtocolFactory

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.