class TermServer extends AnyRef
A server for terminal based applications.
- Alphabetic
- By Inheritance
- TermServer
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new TermServer(_asJava: AnyRef)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
actualPort(): Int
The actual port the server is listening on.
The actual port the server is listening on. This is useful if you bound the server specifying 0 as port number signifying an ephemeral port * @return the actual port the server is listening on.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asJava: AnyRef
-
def
authProvider(provider: AuthProvider): TermServer
Set an auth provider to use, any provider configured in options will override this provider.
Set an auth provider to use, any provider configured in options will override this provider. This should be used when a custom auth provider should be used. * @param provider the auth to use
- returns
this object
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
close(completionHandler: Handler[AsyncResult[Unit]]): Unit
Like io.vertx.scala.ext.shell.term.TermServer#close but supplying a handler that will be notified when close is complete.
Like io.vertx.scala.ext.shell.term.TermServer#close but supplying a handler that will be notified when close is complete. * @param completionHandler the handler to be notified when the term server is closed
-
def
close(): Unit
Close the server.
Close the server. This will close any currently open connections. The close may not complete until after this method has returned.
-
def
closeFuture(): Future[Unit]
Like close but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
listen(listenHandler: Handler[AsyncResult[TermServer]]): TermServer
Bind the term server, the io.vertx.scala.ext.shell.term.TermServer#termHandler must be set before.
Bind the term server, the io.vertx.scala.ext.shell.term.TermServer#termHandler must be set before. * @param listenHandler the listen handler
- returns
this object
-
def
listen(): TermServer
Bind the term server, the io.vertx.scala.ext.shell.term.TermServer#termHandler must be set before.
Bind the term server, the io.vertx.scala.ext.shell.term.TermServer#termHandler must be set before. * @return this object
-
def
listenFuture(): Future[TermServer]
Like listen but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
termHandler(handler: Handler[Term]): TermServer
Set the term handler that will receive incoming client connections.
Set the term handler that will receive incoming client connections. When a remote terminal connects the
handler
will be called with the io.vertx.scala.ext.shell.term.Term which can be used to interact with the remote terminal. * @param handler the term handler- returns
this object
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )