Modifier and Type | Method and Description |
---|---|
SocketAddress |
DatagramSocket.localAddress()
Return the
SocketAddress to which
this DatagramSocket is bound. |
SocketAddress |
DatagramPacket.sender()
Returns the
SocketAddress of the sender that sent
this DatagramPacket . |
Modifier and Type | Method and Description |
---|---|
SocketAddress |
HttpConnection.localAddress() |
SocketAddress |
HttpServerRequest.localAddress() |
SocketAddress |
WebSocketBase.localAddress() |
SocketAddress |
HttpConnection.remoteAddress() |
SocketAddress |
HttpServerRequest.remoteAddress() |
SocketAddress |
WebSocketBase.remoteAddress() |
Modifier and Type | Method and Description |
---|---|
HttpServer |
HttpServer.listen(SocketAddress address,
Handler<AsyncResult<HttpServer>> listenHandler)
Tell the server to start listening on the given address supplying
a handler that will be called when the server is actually
listening (or has failed).
|
HttpClientRequest |
HttpClient.request(HttpMethod method,
SocketAddress serverAddress,
int port,
String host,
String requestURI)
Like
HttpClient.request(HttpMethod, int, String, String) using the serverAddress parameter to connect to the
server instead of the absoluteURI parameter. |
HttpClientRequest |
HttpClient.request(HttpMethod method,
SocketAddress serverAddress,
int port,
String host,
String requestURI,
Handler<HttpClientResponse> responseHandler)
Like
HttpClient.request(HttpMethod, int, String, String, Handler) using the serverAddress parameter to connect to the
server instead of the absoluteURI parameter. |
HttpClientRequest |
HttpClient.request(HttpMethod method,
SocketAddress serverAddress,
RequestOptions options)
Like
HttpClient.request(HttpMethod, RequestOptions) using the serverAddress parameter to connect to the
server instead of the absoluteURI parameter. |
HttpClientRequest |
HttpClient.request(HttpMethod method,
SocketAddress serverAddress,
RequestOptions options,
Handler<HttpClientResponse> responseHandler)
Like
HttpClient.request(HttpMethod, RequestOptions, Handler) using the serverAddress parameter to connect to the
server instead of the absoluteURI parameter. |
HttpClientRequest |
HttpClient.requestAbs(HttpMethod method,
SocketAddress serverAddress,
String absoluteURI)
Like
HttpClient.requestAbs(HttpMethod, String) using the serverAddress parameter to connect to the
server instead of the absoluteURI parameter. |
HttpClientRequest |
HttpClient.requestAbs(HttpMethod method,
SocketAddress serverAddress,
String absoluteURI,
Handler<HttpClientResponse> responseHandler)
Like
HttpClient.requestAbs(HttpMethod, String, Handler) using the serverAddress parameter to connect to the
server instead of the absoluteURI parameter. |
Modifier and Type | Method and Description |
---|---|
static SocketAddress |
SocketAddress.domainSocketAddress(String path)
Create a domain socket address.
|
static SocketAddress |
SocketAddress.inetSocketAddress(int port,
String host)
Create a inet socket address,
host must be non null and port must be between 0
and 65536 . |
SocketAddress |
NetSocket.localAddress() |
SocketAddress |
NetSocket.remoteAddress() |
Modifier and Type | Method and Description |
---|---|
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 . |
NetServer |
NetServer.listen(SocketAddress localAddress)
Start listening on the specified local address, ignoring port and host configured in the
NetServerOptions used when
creating the server. |
NetServer |
NetServer.listen(SocketAddress localAddress,
Handler<AsyncResult<NetServer>> listenHandler)
Like
NetServer.listen(SocketAddress) but providing a handler that will be notified when the server is listening, or fails. |
Modifier and Type | Method and Description |
---|---|
default void |
NetworkMetrics.bytesRead(S socketMetric,
SocketAddress remoteAddress,
long numberOfBytes)
Called when bytes have been read
|
default void |
NetworkMetrics.bytesWritten(S socketMetric,
SocketAddress remoteAddress,
long numberOfBytes)
Called when bytes have been written
|
default S |
TCPMetrics.connected(SocketAddress remoteAddress,
String remoteName)
Called when a client has connected, which is applicable for TCP connections.
The remote name of the client is a best effort to provide the name of the remote host, i.e if the name
is specified at creation time, this name will be used otherwise it will be the remote address.
|
default HttpServerMetrics<?,?,?> |
VertxMetrics.createHttpServerMetrics(HttpServerOptions options,
SocketAddress localAddress)
Provides the http server metrics SPI when an http server is created.
|
default TCPMetrics<?> |
VertxMetrics.createNetServerMetrics(NetServerOptions options,
SocketAddress localAddress)
Provides the net server metrics SPI when a net server is created.
|
default void |
TCPMetrics.disconnected(S socketMetric,
SocketAddress remoteAddress)
Called when a client has disconnected, which is applicable for TCP connections.
|
default void |
NetworkMetrics.exceptionOccurred(S socketMetric,
SocketAddress remoteAddress,
Throwable t)
Called when exceptions occur for a specific connection.
|
default void |
DatagramSocketMetrics.listening(String localName,
SocketAddress localAddress)
Called when a socket is listening.
|
default R |
HttpClientMetrics.requestBegin(E endpointMetric,
S socketMetric,
SocketAddress localAddress,
SocketAddress remoteAddress,
HttpClientRequest request)
Called when an http client request begins.
|
default R |
HttpClientMetrics.responsePushed(E endpointMetric,
S socketMetric,
SocketAddress localAddress,
SocketAddress remoteAddress,
HttpClientRequest request)
Called when an http client response is pushed.
|
Modifier and Type | Method and Description |
---|---|
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
int port,
String host,
String requestURI)
Like
WebClient.request(HttpMethod, int, String, String) using the serverAddress parameter to connect to the
server instead of the port and host parameters. |
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
RequestOptions options)
Like
WebClient.request(HttpMethod, RequestOptions) using the serverAddress parameter to connect to the
server instead of the options parameter. |
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
String requestURI)
Like
WebClient.request(HttpMethod, String) using the serverAddress parameter to connect to the
server instead of the default port and default host. |
HttpRequest<Buffer> |
WebClient.request(HttpMethod method,
SocketAddress serverAddress,
String host,
String requestURI)
Like
WebClient.request(HttpMethod, String, String) using the serverAddress parameter to connect to the
server instead of the default port and host parameter. |
HttpRequest<Buffer> |
WebClient.requestAbs(HttpMethod method,
SocketAddress serverAddress,
String absoluteURI)
Like
WebClient.requestAbs(HttpMethod, String) using the serverAddress parameter to connect to the
server instead of the absoluteURI parameter. |
Modifier and Type | Method and Description |
---|---|
SocketAddress |
SockJSSocket.localAddress()
Return the local address for this socket
|
SocketAddress |
SockJSSocket.remoteAddress()
Return the remote address for this socket
|
Modifier and Type | Method and Description |
---|---|
SocketAddress |
MqttEndpoint.localAddress() |
SocketAddress |
MqttEndpoint.remoteAddress() |
Modifier and Type | Method and Description |
---|---|
SocketAddress |
MySQLConnectOptions.getSocketAddress() |
Modifier and Type | Method and Description |
---|---|
SocketAddress |
SocketAddress.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static SocketAddress |
SocketAddress.newInstance(SocketAddress arg) |
Constructor and Description |
---|
SocketAddress(SocketAddress delegate) |
Modifier and Type | Method and Description |
---|---|
SocketAddress |
SocketAddress.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static SocketAddress |
SocketAddress.newInstance(SocketAddress arg) |
Constructor and Description |
---|
SocketAddress(SocketAddress delegate) |
Copyright © 2023 Eclipse. All rights reserved.