Package net.kuujo.vertigo.io.port.impl

Examples of net.kuujo.vertigo.io.port.impl.DefaultInputPort


            .setAddress(UUID.randomUUID().toString())
            .setName(name)
            .build();
        DefaultInputContext.Builder.newBuilder((DefaultInputContext) context).addPort(portContext);
      }
      port = new DefaultInputPort(vertx, context.port(name));
      if (started) {
        port.open();
      }
      ports.put(name, port);
    }
View Full Code Here


        for (InputPortContext input : update.ports()) {
          if (!ports.containsKey(input.name())) {
            InputPortContext port = DefaultInputCollector.this.context.port(input.name());
            if (port != null) {
              log.debug(String.format("%s - Adding in port: %s", DefaultInputCollector.this, input));
              newPorts.add(new DefaultInputPort(vertx, port));
            }
          }
        }

        // If the input has already been started, add each input port
View Full Code Here

                    startCounter.succeed();
                  }
                }
              });
            } else {
              ports.put(port.name(), new DefaultInputPort(vertx, port).open(new Handler<AsyncResult<Void>>() {
                @Override
                public void handle(AsyncResult<Void> result) {
                  if (result.failed()) {
                    log.error(String.format("%s - Failed to open in port: %s", DefaultInputCollector.this, port));
                    startCounter.fail(result.cause());
View Full Code Here

TOP

Related Classes of net.kuujo.vertigo.io.port.impl.DefaultInputPort

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.