Package io.vertx.mutiny.ext.shell.term
Class Term
java.lang.Object
io.vertx.mutiny.ext.shell.term.Tty
io.vertx.mutiny.ext.shell.term.Term
- All Implemented Interfaces:
 MutinyDelegate
The terminal.
 
 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 TypeMethodDescriptionvoidclose()closeHandler(Runnable handler) booleanio.vertx.ext.shell.term.TerminthashCode()interruptHandler(SignalHandler handler) longstatic TermnewInstance(io.vertx.ext.shell.term.Term arg) voidreadline(String prompt, io.vertx.core.Handler<String> lineHandler, Consumer<Completion> completionHandler) voidresizehandler(Runnable handler) setSession(Session session) stdinHandler(Consumer<String> handler) suspendHandler(SignalHandler handler) toString()Methods inherited from class io.vertx.mutiny.ext.shell.term.Tty
height, newInstance, type, width 
- 
Field Details
- 
__TYPE_ARG
 
 - 
 - 
Constructor Details
- 
Term
public Term(io.vertx.ext.shell.term.Term delegate)  - 
Term
 
 - 
 - 
Method Details
- 
getDelegate
public io.vertx.ext.shell.term.Term getDelegate()- Specified by:
 getDelegatein interfaceMutinyDelegate- Overrides:
 getDelegatein classTty- Returns:
 - the delegate used by this Mutiny object of generated type
 
 - 
toString
 - 
equals
 - 
hashCode
public int hashCode() - 
resizehandler
- Overrides:
 resizehandlerin classTty- Parameters:
 handler- the resize handler- Returns:
 
 - 
stdinHandler
- Overrides:
 stdinHandlerin classTty- Parameters:
 handler- the standard input- Returns:
 
 - 
write
 - 
lastAccessedTime
public long lastAccessedTime()- Returns:
 - the last time this term received input
 
 - 
echo
- Parameters:
 text- the text to echo- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
setSession
- Parameters:
 session- the session to set- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
interruptHandler
- Parameters:
 handler- the interrupt handler- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
suspendHandler
- Parameters:
 handler- the suspend handler- Returns:
 - a reference to this, so the API can be used fluently
 
 - 
readline
- Parameters:
 prompt- the displayed promptlineHandler- the line handler called with the line
 - 
readline
public void readline(String prompt, io.vertx.core.Handler<String> lineHandler, Consumer<Completion> completionHandler) - Parameters:
 prompt- the displayed promptlineHandler- the line handler called with the linecompletionHandler- the completion handler
 - 
closeHandler
- Parameters:
 handler- the handler- Returns:
 
 - 
close
public void close() - 
newInstance
 
 -