Package io.netty.util.concurrent

Examples of io.netty.util.concurrent.EventExecutor.unwrap()


        EventExecutor executor2 = channel.pipeline().context(TestChannelHandler1.class).executor();

        // same wrapped executor
        assertSame(executor1, executor2);
        // different executor under the wrapper
        assertNotSame(unwrapped1, executor2.unwrap());
        // executor3 must remain unchanged
        assertSame(executor3.unwrap(), future.channel().pipeline()
                .context(TestChannelHandler2.class)
                .executor()
                .unwrap());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.