Package org.vertx.java.core.impl

Examples of org.vertx.java.core.impl.FlowControlStateEvent


  }

  @Override
  public void userEventTriggered(ChannelHandlerContext ctx, Object obj) throws Exception {
    if (obj instanceof FlowControlStateEvent) {
      FlowControlStateEvent evt = (FlowControlStateEvent) obj;
      final Channel ch = ctx.channel();
      final C conn = connectionMap.get(ch);
      if (conn != null) {
        conn.setWritable(evt.isWritable());
        DefaultContext context = getContext(conn);
        if (context.isOnCorrectWorker(ch.eventLoop())) {
          try {
            vertx.setContext(context);
            conn.handleInterestedOpsChanged();
View Full Code Here

TOP

Related Classes of org.vertx.java.core.impl.FlowControlStateEvent

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.