Package io.vertx.mutiny.ext.shell.term
Class Tty
java.lang.Object
io.vertx.mutiny.ext.shell.term.Tty
- All Implemented Interfaces:
MutinyDelegate
- Direct Known Subclasses:
CommandProcess
,Term
Provide interactions with the Shell TTY.
NOTE: This class has been automatically generated from the
original
non Mutiny-ified interface using Vert.x codegen.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
io.vertx.ext.shell.term.Tty
int
hashCode()
int
height()
static Tty
newInstance
(io.vertx.ext.shell.term.Tty arg) resizehandler
(Runnable handler) stdinHandler
(Consumer<String> handler) toString()
type()
int
width()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
Tty
public Tty(io.vertx.ext.shell.term.Tty delegate) -
Tty
-
-
Method Details
-
getDelegate
public io.vertx.ext.shell.term.Tty getDelegate()- Specified by:
getDelegate
in interfaceMutinyDelegate
- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
type
- Returns:
- the declared tty type, for instance , , etc... it can be null when the tty does not have declared its type.
-
width
public int width()- Returns:
- the current width, i.e the number of rows or if unknown
-
height
public int height()- Returns:
- the current height, i.e the number of columns or if unknown
-
stdinHandler
- Parameters:
handler
- the standard input- Returns:
-
write
- Parameters:
data
- the data to write- Returns:
- this object
-
resizehandler
- Parameters:
handler
- the resize handler- Returns:
-
newInstance
-