@@ -0,0 +1,1169 @@
+package sample;%0A%0Aimport influent.forward.ForwardCallback;%0Aimport influent.forward.ForwardServer;%0Aimport org.slf4j.Logger;%0Aimport org.slf4j.LoggerFactory;%0A%0Aimport java.util.concurrent.Executors;%0A%0Apublic class TLSPrint %7B%0A  private static final Logger logger = LoggerFactory.getLogger(Print.class);%0A%0A  public static void main(final String%5B%5D args) throws Exception %7B%0A    final long durationSeconds = Long.valueOf(args%5B0%5D);%0A%0A    final ForwardCallback callback = ForwardCallback.ofSyncConsumer(%0A        stream -%3E logger.info(stream.toString()),%0A        Executors.newWorkStealingPool()%0A    );%0A%0A    final ForwardServer server =%0A        new ForwardServer.Builder(callback)%0A            .sslEnabled(true)%0A            .tlsVersions(new String%5B%5D%7B%22TLSv1.2%22%7D)%0A            .keystorePath(%22/home/kenji/wc/influent/keystore.jks%22)%0A            .keystorePassword(%22password%22)%0A            .keyPassword(%22password%22)%0A            .truststorePath(%22/home/kenji/wc/influent/keystore.jks%22)%0A            .truststorePassword(%22password%22)%0A            .build();%0A    server.start();%0A%0A    // ForwardServer#start returns immediately%0A    Thread.sleep(durationSeconds * 1000);%0A%0A    server.shutdown().get();%0A  %7D%0A%7D%0A

Add TLSPrint