Package net.kuujo.vertigo.io

Examples of net.kuujo.vertigo.io.FileSender


  }

  public static class TestFileSender extends ComponentVerticle {
    @Override
    public void start() {
      FileSender sender = new FileSender(output.port("out"));
      sender.sendFile("src/test/resources/test.txt", new Handler<AsyncResult<Void>>() {
        @Override
        public void handle(AsyncResult<Void> result) {
          assertTrue(result.succeeded());
        }
      });
View Full Code Here

TOP

Related Classes of net.kuujo.vertigo.io.FileSender

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.