Uses of Class
io.vertx.mutiny.core.net.NetSocket
Packages that use NetSocket
Package
Description
-
Uses of NetSocket in io.vertx.mutiny.core.http
Methods in io.vertx.mutiny.core.http that return NetSocketModifier and TypeMethodDescriptionHttpClientResponse.netSocket()HttpServerRequest.toNetSocketAndAwait()Establish a TCP tunnel with the client.Methods in io.vertx.mutiny.core.http that return types with arguments of type NetSocketModifier and TypeMethodDescriptionio.smallrye.mutiny.Uni<NetSocket>HttpServerRequest.toNetSocket()Establish a TCP tunnel with the client. -
Uses of NetSocket in io.vertx.mutiny.core.net
Fields in io.vertx.mutiny.core.net with type parameters of type NetSocketMethods in io.vertx.mutiny.core.net that return NetSocketModifier and TypeMethodDescriptionNetSocket.closeAndForget()Close the socketNetSocket.closeHandler(Runnable handler) Set ahandlernotified when the socket is closedNetClient.connectAndAwait(int port, String host) Open a connection to a server at the specificportandhost.NetClient.connectAndAwait(int port, String host, String serverName) Open a connection to a server at the specificportandhost.NetClient.connectAndAwait(io.vertx.core.net.ConnectOptions connectOptions) Open a connection to a server at the specificconnectOptions.NetClient.connectAndAwait(io.vertx.core.net.SocketAddress remoteAddress) Open a connection to a server at the specificremoteAddress.NetClient.connectAndAwait(io.vertx.core.net.SocketAddress remoteAddress, String serverName) Open a connection to a server at the specificremoteAddress.NetSocket.drainHandler(Runnable handler) NetSocket.endAndForget()Callsclose()NetSocket.endAndForget(io.vertx.core.buffer.Buffer arg0) Same asend()but writes some data to the stream before ending.NetSocket.endHandler(Runnable endHandler) Set an end handler.NetSocket.exceptionHandler(Consumer<Throwable> handler) NetSocket.fetch(long amount) static NetSocketNetSocket.newInstance(io.vertx.core.net.NetSocket delegate) Creates a new instance of theNetSocket.NetSocket.pause()NetSocket.pipeToAndForget(WriteStream<io.vertx.core.buffer.Buffer> arg0) Pipe thisReadStreamto theWriteStream.NetSocket.resume()NetSocket.sendFileAndForget(String filename) Tell the operating system to stream a file as specified byfilenamedirectly from disk to the outgoing connection, bypassing userspace altogether (where supported by the underlying operating system.NetSocket.sendFileAndForget(String filename, long offset) Tell the operating system to stream a file as specified byfilenamedirectly from disk to the outgoing connection, bypassing userspace altogether (where supported by the underlying operating system.NetSocket.sendFileAndForget(String filename, long offset, long length) Tell the operating system to stream a file as specified byfilenamedirectly from disk to the outgoing connection, bypassing userspace altogether (where supported by the underlying operating system.NetSocket.setWriteQueueMaxSize(int maxSize) NetSocket.shutdownHandler(Consumer<Duration> handler) Set ahandlernotified when the socket is shutdown: the client or server will close the connection within a certain amount of time.NetSocket.upgradeToSslAndForget()LikeupgradeToSsl(SSLOptions, String, Buffer)with the default SSL options, without indicating a server name, without an upgrade message.NetSocket.upgradeToSslAndForget(io.vertx.core.buffer.Buffer msg) LikeupgradeToSsl(SSLOptions, String, Buffer)with the default SSL options and without indicating a server name.NetSocket.upgradeToSslAndForget(io.vertx.core.net.SSLOptions sslOptions) Upgrade channel to use SSL/TLS.NetSocket.upgradeToSslAndForget(io.vertx.core.net.SSLOptions sslOptions, io.vertx.core.buffer.Buffer msg) LikeupgradeToSsl(SSLOptions, String, Buffer)without indicating a server nameNetSocket.upgradeToSslAndForget(io.vertx.core.net.SSLOptions sslOptions, String serverName) LikeupgradeToSsl(SSLOptions, String, Buffer)without an upgrade message.NetSocket.upgradeToSslAndForget(io.vertx.core.net.SSLOptions sslOptions, String serverName, io.vertx.core.buffer.Buffer upgrade) Upgrade the channel to use SSL/TLS, in other words proceeds to the TLS handshake.NetSocket.upgradeToSslAndForget(String serverName) LikeupgradeToSsl(SSLOptions, String, Buffer)with the default SSL options and without an update message.NetSocket.upgradeToSslAndForget(String serverName, io.vertx.core.buffer.Buffer msg) LikeupgradeToSsl(SSLOptions, String, Buffer)with the default SSL options.NetSocket.writeAndForget(io.vertx.core.buffer.Buffer arg0) Write some data to the stream.NetSocket.writeAndForget(String str) Write aStringto the connection, encoded in UTF-8.NetSocket.writeAndForget(String str, String enc) Write aStringto the connection, encoded using the encodingenc.Methods in io.vertx.mutiny.core.net that return types with arguments of type NetSocketModifier and TypeMethodDescriptionio.smallrye.mutiny.Uni<NetSocket>Open a connection to a server at the specificportandhost.io.smallrye.mutiny.Uni<NetSocket>Open a connection to a server at the specificportandhost.io.smallrye.mutiny.Uni<NetSocket>NetClient.connect(io.vertx.core.net.ConnectOptions connectOptions) Open a connection to a server at the specificconnectOptions.io.smallrye.mutiny.Uni<NetSocket>NetClient.connect(io.vertx.core.net.SocketAddress remoteAddress) Open a connection to a server at the specificremoteAddress.io.smallrye.mutiny.Uni<NetSocket>Open a connection to a server at the specificremoteAddress.Method parameters in io.vertx.mutiny.core.net with type arguments of type NetSocketModifier and TypeMethodDescriptionNetServer.connectHandler(Consumer<NetSocket> handler) Supply a connect handler for this server. -
Uses of NetSocket in io.vertx.mutiny.ext.eventbus.bridge.tcp
Methods in io.vertx.mutiny.ext.eventbus.bridge.tcp that return NetSocket