Uses of Interface
io.vertx.core.net.NetServer
-
Packages that use NetServer Package Description io.vertx.core io.vertx.core.net -
-
Uses of NetServer in io.vertx.core
Methods in io.vertx.core that return NetServer Modifier and Type Method Description default NetServerVertx. createNetServer()Create a TCP/SSL server using default optionsNetServerVertx. createNetServer(NetServerOptions options)Create a TCP/SSL server using the specified options -
Uses of NetServer in io.vertx.core.net
Methods in io.vertx.core.net that return NetServer Modifier and Type Method Description NetServerNetServer. connectHandler(Handler<NetSocket> handler)Supply a connect handler for this server.NetServerNetServer. exceptionHandler(Handler<Throwable> handler)Set an exception handler called for socket errors happening before the connection is passed to theconnectHandler(io.vertx.core.Handler<io.vertx.core.net.NetSocket>), e.g during the TLS handshake.Methods in io.vertx.core.net that return types with arguments of type NetServer Modifier and Type Method Description Future<NetServer>NetServer. listen()Start listening on the port and host as configured in theNetServerOptionsused when creating the server.default Future<NetServer>NetServer. listen(int port)Start listening on the specified port and host "0.0.0.0", ignoring port and host configured in theNetServerOptionsused when creating the server.default Future<NetServer>NetServer. listen(int port, String host)Start listening on the specified port and host, ignoring port and host configured in theNetServerOptionsused when creating the server.Future<NetServer>NetServer. listen(SocketAddress localAddress)Start listening on the specified local address, ignoring port and host configured in theNetServerOptionsused when creating the server.
-