| Modifier and Type | Method and Description |
|---|---|
NetSocket |
HttpClientResponse.netSocket() |
| Modifier and Type | Method and Description |
|---|---|
Future<NetSocket> |
HttpServerRequest.toNetSocket()
Like
HttpServerRequest.toNetSocket(Handler) but returns a Future of the asynchronous result |
| Modifier and Type | Method and Description |
|---|---|
default void |
HttpServerRequest.toNetSocket(Handler<AsyncResult<NetSocket>> handler)
Establish a TCP tunnel with the client.
|
| Modifier and Type | Method and Description |
|---|---|
NetSocket |
HttpClientResponseImpl.netSocket() |
| Modifier and Type | Method and Description |
|---|---|
Future<NetSocket> |
Http1xServerConnection.netSocket() |
Future<NetSocket> |
Http1xServerRequest.toNetSocket() |
Future<NetSocket> |
Http2ServerRequest.toNetSocket() |
| Modifier and Type | Method and Description |
|---|---|
Future<HttpClientConnection> |
HttpChannelConnector.wrap(EventLoopContext context,
NetSocket so_) |
| Modifier and Type | Method and Description |
|---|---|
void |
Http1xServerConnection.netSocket(Handler<AsyncResult<NetSocket>> handler) |
| Modifier and Type | Method and Description |
|---|---|
NetSocket |
NetSocket.closeHandler(Handler<Void> handler)
Set a handler that will be called when the NetSocket is closed
|
NetSocket |
NetSocket.drainHandler(Handler<Void> handler) |
NetSocket |
NetSocket.endHandler(Handler<Void> endHandler)
Set an end handler.
|
NetSocket |
NetSocket.exceptionHandler(Handler<Throwable> handler) |
NetSocket |
NetSocket.fetch(long amount) |
NetSocket |
NetSocket.handler(Handler<Buffer> handler) |
NetSocket |
NetSocket.pause() |
NetSocket |
NetSocket.resume() |
default NetSocket |
NetSocket.sendFile(String filename,
Handler<AsyncResult<Void>> resultHandler)
Same as
sendFile(String) but also takes a handler that will be called when the send has completed or
a failure has occurred |
default NetSocket |
NetSocket.sendFile(String filename,
long offset,
Handler<AsyncResult<Void>> resultHandler)
Same as
sendFile(String, long) but also takes a handler that will be called when the send has completed or
a failure has occurred |
NetSocket |
NetSocket.sendFile(String filename,
long offset,
long length,
Handler<AsyncResult<Void>> resultHandler)
Same as
sendFile(String, long, long) but also takes a handler that will be called when the send has completed or
a failure has occurred |
NetSocket |
NetSocket.setWriteQueueMaxSize(int maxSize) |
NetSocket |
NetSocket.upgradeToSsl(Handler<AsyncResult<Void>> handler)
Upgrade channel to use SSL/TLS.
|
NetSocket |
NetSocket.upgradeToSsl(String serverName,
Handler<AsyncResult<Void>> handler)
Upgrade channel to use SSL/TLS.
|
| Modifier and Type | Method and Description |
|---|---|
Future<NetSocket> |
NetClient.connect(int port,
String host)
Like
NetClient.connect(int, String, Handler) but returns a Future of the asynchronous result |
Future<NetSocket> |
NetClient.connect(int port,
String host,
String serverName)
Like
NetClient.connect(int, String, String, Handler) but returns a Future of the asynchronous result |
Future<NetSocket> |
NetClient.connect(SocketAddress remoteAddress)
Like
NetClient.connect(SocketAddress, Handler) but returns a Future of the asynchronous result |
Future<NetSocket> |
NetClient.connect(SocketAddress remoteAddress,
String serverName)
Like
NetClient.connect(SocketAddress, String, Handler) but returns a Future of the asynchronous result |
Handler<NetSocket> |
NetServer.connectHandler() |
ReadStream<NetSocket> |
NetServer.connectStream()
Return the connect stream for this server.
|
| Modifier and Type | Method and Description |
|---|---|
NetClient |
NetClient.connect(int port,
String host,
Handler<AsyncResult<NetSocket>> connectHandler)
Open a connection to a server at the specific
port and host. |
NetClient |
NetClient.connect(int port,
String host,
String serverName,
Handler<AsyncResult<NetSocket>> connectHandler)
Open a connection to a server at the specific
port and host. |
NetClient |
NetClient.connect(SocketAddress remoteAddress,
Handler<AsyncResult<NetSocket>> connectHandler)
Open a connection to a server at the specific
remoteAddress. |
NetClient |
NetClient.connect(SocketAddress remoteAddress,
String serverName,
Handler<AsyncResult<NetSocket>> connectHandler)
Open a connection to a server at the specific
remoteAddress. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
NetSocketInternal
|
| Modifier and Type | Class and Description |
|---|---|
class |
NetSocketImpl
This class is optimised for performance when used on the same event loop that is was passed to the handler with.
|
| Modifier and Type | Method and Description |
|---|---|
NetSocket |
NetSocketImpl.drainHandler(Handler<Void> drainHandler) |
NetSocket |
NetSocketImpl.endHandler(Handler<Void> endHandler) |
NetSocket |
NetSocketImpl.fetch(long amount) |
NetSocket |
NetSocketImpl.handler(Handler<Buffer> dataHandler) |
NetSocket |
NetSocketImpl.pause() |
NetSocket |
NetSocketImpl.resume() |
NetSocket |
NetSocketImpl.sendFile(String filename,
long offset,
long length,
Handler<AsyncResult<Void>> resultHandler) |
NetSocket |
NetSocketImpl.setWriteQueueMaxSize(int maxSize) |
NetSocket |
NetSocketImpl.upgradeToSsl(Handler<AsyncResult<Void>> handler) |
NetSocket |
NetSocketImpl.upgradeToSsl(String serverName,
Handler<AsyncResult<Void>> handler) |
| Modifier and Type | Method and Description |
|---|---|
Future<NetSocket> |
NetClientImpl.connect(ContextInternal context,
SocketAddress remoteAddress,
String serverName) |
Future<NetSocket> |
NetClientImpl.connect(int port,
String host) |
Future<NetSocket> |
NetClientImpl.connect(int port,
String host,
String serverName) |
Future<NetSocket> |
NetClientImpl.connect(SocketAddress remoteAddress) |
Future<NetSocket> |
NetClientImpl.connect(SocketAddress remoteAddress,
String serverName) |
Handler<NetSocket> |
NetServerImpl.connectHandler() |
ReadStream<NetSocket> |
NetServerImpl.connectStream() |
| Modifier and Type | Method and Description |
|---|---|
NetClient |
NetClientImpl.connect(int port,
String host,
Handler<AsyncResult<NetSocket>> connectHandler) |
NetClient |
NetClientImpl.connect(int port,
String host,
String serverName,
Handler<AsyncResult<NetSocket>> connectHandler) |
NetClient |
NetClientImpl.connect(SocketAddress remoteAddress,
Handler<AsyncResult<NetSocket>> connectHandler) |
NetClient |
NetClientImpl.connect(SocketAddress remoteAddress,
String serverName,
Handler<AsyncResult<NetSocket>> connectHandler) |
NetServer |
NetServerImpl.connectHandler(Handler<NetSocket> handler) |
void |
NetClientImpl.doConnect(SocketAddress remoteAddress,
SocketAddress peerAddress,
String serverName,
Promise<NetSocket> connectHandler,
ContextInternal context,
int remainingAttempts) |
| Modifier and Type | Method and Description |
|---|---|
void |
ProtonSaslServerAuthenticatorImpl.init(NetSocket socket,
ProtonConnection protonConnection,
org.apache.qpid.proton.engine.Transport transport) |
void |
ProtonSaslClientAuthenticatorImpl.init(NetSocket socket,
ProtonConnection protonConnection,
org.apache.qpid.proton.engine.Transport transport) |
| Modifier and Type | Method and Description |
|---|---|
void |
ProtonSaslAuthenticator.init(NetSocket socket,
ProtonConnection protonConnection,
org.apache.qpid.proton.engine.Transport transport) |
| Modifier and Type | Method and Description |
|---|---|
NetSocket |
NetSocket.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static NetSocket |
NetSocket.newInstance(NetSocket arg) |
| Constructor and Description |
|---|
NetSocket(NetSocket delegate) |
| Constructor and Description |
|---|
RedisStandaloneConnection(Vertx vertx,
ContextInternal context,
ConnectionListener<RedisConnection> connectionListener,
NetSocket netSocket,
RedisOptions options) |
| Modifier and Type | Method and Description |
|---|---|
NetSocket |
NetSocket.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static NetSocket |
NetSocket.newInstance(NetSocket arg) |
| Constructor and Description |
|---|
NetSocket(NetSocket delegate) |
Copyright © 2021. All rights reserved.