| Modifier and Type | Field and Description | 
|---|---|
| static io.vertx.lang.rx.TypeArg<NetServer> | __TYPE_ARG | 
| Constructor and Description | 
|---|
| NetServer(NetServer delegate) | 
| NetServer(Object delegate) | 
clone, finalize, getClass, notify, notifyAll, wait, wait, waitnewInstancepublic static final io.vertx.lang.rx.TypeArg<NetServer> __TYPE_ARG
public NetServer(NetServer delegate)
public NetServer(Object delegate)
public NetServer getDelegate()
getDelegate in interface Measuredpublic boolean isMetricsEnabled()
isMetricsEnabled in interface Measuredtrue if metrics are enabledpublic ReadStream<NetSocket> connectStream()
NetSocket and passes it to the
 connect stream .public NetServer connectHandler(Handler<NetSocket> handler)
NetSocket and passes it to the
 connect handler.handler - public NetServer listen(Handler<AsyncResult<NetServer>> listenHandler)
listen(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.net.NetServer>>) but providing a handler that will be notified when the server is listening, or fails.listenHandler - handler that will be notified when listening or failedpublic NetServer listen()
listen(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.net.NetServer>>) but providing a handler that will be notified when the server is listening, or fails.public Single<NetServer> rxListen()
listen(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.net.NetServer>>) but providing a handler that will be notified when the server is listening, or fails.public NetServer listen(int port, String host, Handler<AsyncResult<NetServer>> listenHandler)
listen(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.net.NetServer>>) but providing a handler that will be notified when the server is listening, or fails.port - the port to listen onhost - the host to listen onlistenHandler - handler that will be notified when listening or failedpublic NetServer listen(int port, String host)
listen(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.net.NetServer>>) but providing a handler that will be notified when the server is listening, or fails.port - the port to listen onhost - the host to listen onpublic Single<NetServer> rxListen(int port, String host)
listen(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.net.NetServer>>) but providing a handler that will be notified when the server is listening, or fails.port - the port to listen onhost - the host to listen onpublic NetServer listen(int port, Handler<AsyncResult<NetServer>> listenHandler)
listen(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.net.NetServer>>) but providing a handler that will be notified when the server is listening, or fails.port - the port to listen onlistenHandler - handler that will be notified when listening or failedpublic NetServer listen(int port)
listen(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.net.NetServer>>) but providing a handler that will be notified when the server is listening, or fails.port - the port to listen onpublic Single<NetServer> rxListen(int port)
listen(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.net.NetServer>>) but providing a handler that will be notified when the server is listening, or fails.port - the port to listen onpublic NetServer listen(SocketAddress localAddress, Handler<AsyncResult<NetServer>> listenHandler)
listen(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.net.NetServer>>) but providing a handler that will be notified when the server is listening, or fails.localAddress - the local address to listen onlistenHandler - handler that will be notified when listening or failedpublic NetServer listen(SocketAddress localAddress)
listen(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.net.NetServer>>) but providing a handler that will be notified when the server is listening, or fails.localAddress - the local address to listen onpublic Single<NetServer> rxListen(SocketAddress localAddress)
listen(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.net.NetServer>>) but providing a handler that will be notified when the server is listening, or fails.localAddress - the local address to listen onpublic void close(Handler<AsyncResult<Void>> completionHandler)
close(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>) but supplying a handler that will be notified when close is complete.completionHandler - the handlerpublic void close()
close(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>) but supplying a handler that will be notified when close is complete.public Completable rxClose()
close(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>) but supplying a handler that will be notified when close is complete.public int actualPort()
Copyright © 2021 Eclipse. All rights reserved.