Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<TermServer> |
__TYPE_ARG |
Constructor and Description |
---|
TermServer(Object delegate) |
TermServer(TermServer delegate) |
Modifier and Type | Method and Description |
---|---|
int |
actualPort()
The actual port the server is listening on.
|
TermServer |
authenticationProvider(AuthenticationProvider provider)
Set an auth provider to use, any provider configured in options will override this provider.
|
TermServer |
authProvider(AuthProvider provider)
Deprecated.
|
Completable |
close()
Like
close() but supplying a handler that will be notified when close is complete. |
static TermServer |
createHttpTermServer(Vertx vertx)
Create a term server for the HTTP protocol.
|
static TermServer |
createHttpTermServer(Vertx vertx,
HttpTermOptions options)
Create a term server for the HTTP protocol.
|
static TermServer |
createHttpTermServer(Vertx vertx,
Router router)
Create a term server for the HTTP protocol, using an existing router.
|
static TermServer |
createHttpTermServer(Vertx vertx,
Router router,
HttpTermOptions options)
Create a term server for the HTTP protocol, using an existing router.
|
static TermServer |
createSSHTermServer(Vertx vertx)
Create a term server for the SSH protocol.
|
static TermServer |
createSSHTermServer(Vertx vertx,
SSHTermOptions options)
Create a term server for the SSH protocol.
|
static TermServer |
createTelnetTermServer(Vertx vertx)
Create a term server for the Telnet protocol.
|
static TermServer |
createTelnetTermServer(Vertx vertx,
TelnetTermOptions options)
Create a term server for the Telnet protocol.
|
boolean |
equals(Object o) |
TermServer |
getDelegate() |
int |
hashCode() |
Completable |
listen()
Bind the term server, the
termHandler(io.vertx.core.Handler<io.vertx.rxjava3.ext.shell.term.Term>) must be set before. |
static TermServer |
newInstance(TermServer arg) |
Completable |
rxClose()
Like
close() but supplying a handler that will be notified when close is complete. |
Completable |
rxListen()
Bind the term server, the
termHandler(io.vertx.core.Handler<io.vertx.rxjava3.ext.shell.term.Term>) must be set before. |
TermServer |
termHandler(Handler<Term> handler)
Set the term handler that will receive incoming client connections.
|
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<TermServer> __TYPE_ARG
public TermServer(TermServer delegate)
public TermServer(Object delegate)
public TermServer getDelegate()
public static TermServer createSSHTermServer(Vertx vertx)
vertx
- the vertx instancepublic static TermServer createSSHTermServer(Vertx vertx, SSHTermOptions options)
vertx
- the vertx instanceoptions
- the ssh optionspublic static TermServer createTelnetTermServer(Vertx vertx)
vertx
- the vertx instancepublic static TermServer createTelnetTermServer(Vertx vertx, TelnetTermOptions options)
vertx
- the vertx instanceoptions
- the term optionspublic static TermServer createHttpTermServer(Vertx vertx)
vertx
- the vertx instancepublic static TermServer createHttpTermServer(Vertx vertx, HttpTermOptions options)
vertx
- the vertx instanceoptions
- the term optionspublic static TermServer createHttpTermServer(Vertx vertx, Router router)
vertx
- the vertx instancerouter
- the routerpublic static TermServer createHttpTermServer(Vertx vertx, Router router, HttpTermOptions options)
vertx
- the vertx instancerouter
- the routeroptions
- the term optionspublic TermServer termHandler(Handler<Term> handler)
handler
will be called with the Term
which can be used to interact with the remote
terminal.handler
- the term handler@Deprecated public TermServer authProvider(AuthProvider provider)
provider
- the auth to usepublic TermServer authenticationProvider(AuthenticationProvider provider)
provider
- the auth to usepublic Completable listen()
termHandler(io.vertx.core.Handler<io.vertx.rxjava3.ext.shell.term.Term>)
must be set before.public Completable rxListen()
termHandler(io.vertx.core.Handler<io.vertx.rxjava3.ext.shell.term.Term>)
must be set before.public int actualPort()
public Completable close()
close()
but supplying a handler that will be notified when close is complete.public Completable rxClose()
close()
but supplying a handler that will be notified when close is complete.public static TermServer newInstance(TermServer arg)
Copyright © 2023 Eclipse. All rights reserved.