Package com.facebook.nifty.header.codec

Examples of com.facebook.nifty.header.codec.HeaderThriftCodecFactory


        final ThriftServer server =
                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));
View Full Code Here

TOP

Related Classes of com.facebook.nifty.header.codec.HeaderThriftCodecFactory

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.