Package io.reactivex.netty.client

Examples of io.reactivex.netty.client.ConnectionReuseEvent


    public void userEventTriggered(ChannelHandlerContext ctx, Object event) throws Exception {
        if (event instanceof NewRxConnectionEvent) {
            NewRxConnectionEvent rxConnectionEvent = (NewRxConnectionEvent) event;
            bridgedObserver = rxConnectionEvent.getConnectedObserver();
        } else if (event instanceof ConnectionReuseEvent) {
            ConnectionReuseEvent reuseEvent = (ConnectionReuseEvent) event;
            bridgedObserver = reuseEvent.getConnectedObserver();
        }

        super.userEventTriggered(ctx, event);
    }
View Full Code Here

TOP

Related Classes of io.reactivex.netty.client.ConnectionReuseEvent

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.