Class NettyTelnetTtyBootstrap

java.lang.Object
org.aesh.terminal.telnet.netty.NettyTelnetTtyBootstrap

public class NettyTelnetTtyBootstrap extends Object
Author:
Julien Viet
  • Constructor Details

    • NettyTelnetTtyBootstrap

      public NettyTelnetTtyBootstrap()
  • Method Details

    • getHost

      public String getHost()
    • setHost

      public NettyTelnetTtyBootstrap setHost(String host)
    • getPort

      public int getPort()
    • setPort

      public NettyTelnetTtyBootstrap setPort(int port)
    • isOutBinary

      public boolean isOutBinary()
    • setOutBinary

      public NettyTelnetTtyBootstrap setOutBinary(boolean outBinary)
      Enable or disable the TELNET BINARY option on output.
      Parameters:
      outBinary - true to require the client to receive binary
      Returns:
      this object
    • isInBinary

      public boolean isInBinary()
    • setInBinary

      public NettyTelnetTtyBootstrap setInBinary(boolean inBinary)
      Enable or disable the TELNET BINARY option on input.
      Parameters:
      inBinary - true to require the client to emit binary
      Returns:
      this object
    • getCharset

      public Charset getCharset()
    • setCharset

      public void setCharset(Charset charset)
    • start

      public CompletableFuture<?> start(Consumer<org.aesh.terminal.Connection> factory)
    • stop

      public CompletableFuture<?> stop()
    • start

      public void start(Consumer<org.aesh.terminal.Connection> factory, Consumer<Throwable> doneHandler)
    • stop

      public void stop(Consumer<Throwable> doneHandler)