Class Pty


  • public class Pty
    extends Object
    A pseudo terminal used for controlling a Tty. This interface acts as a pseudo terminal master, slave() returns the assocated slave pseudo terminal.

    NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.

    • Field Detail

      • __TYPE_ARG

        public static final TypeArg<Pty> __TYPE_ARG
    • Constructor Detail

      • Pty

        public Pty​(io.vertx.ext.shell.term.Pty delegate)
      • Pty

        public Pty​(Object delegate)
    • Method Detail

      • getDelegate

        public io.vertx.ext.shell.term.Pty getDelegate()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • create

        public static Pty create()
        Returns:
      • create

        public static Pty create​(String terminalType)
        Parameters:
        terminalType - the terminal type, for instance
        Returns:
        the created pseudo terminal
      • stdoutHandler

        public Pty stdoutHandler​(Consumer<String> handler)
        Parameters:
        handler - the standard output
        Returns:
      • write

        public Pty write​(String data)
        Parameters:
        data - the data to write
        Returns:
        this current object
      • setSize

        public Pty setSize​(int width,
                           int height)
        Parameters:
        width -
        height -
        Returns:
        this current object
      • slave

        public Tty slave()
        Returns:
        the pseudo terminal slave
      • newInstance

        public static Pty newInstance​(io.vertx.ext.shell.term.Pty arg)