Package | Description |
---|---|
io.vertx.core.datagram | |
io.vertx.core.http | |
io.vertx.core.net | |
io.vertx.core.spi.metrics | |
io.vertx.ext.web.handler.sockjs | |
io.vertx.rxjava.core.net |
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 |
HttpServerRequest.localAddress() |
SocketAddress |
WebSocketBase.localAddress() |
SocketAddress |
HttpServerRequest.remoteAddress() |
SocketAddress |
WebSocketBase.remoteAddress() |
Modifier and Type | Method and Description |
---|---|
SocketAddress |
NetSocket.localAddress() |
SocketAddress |
NetSocket.remoteAddress() |
Modifier and Type | Method and Description |
---|---|
void |
NetworkMetrics.bytesRead(S socketMetric,
SocketAddress remoteAddress,
long numberOfBytes)
Called when bytes have been read
|
void |
NetworkMetrics.bytesWritten(S socketMetric,
SocketAddress remoteAddress,
long numberOfBytes)
Called when bytes have been written
|
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.
|
HttpServerMetrics<?,?,?> |
VertxMetrics.createMetrics(HttpServer server,
SocketAddress localAddress,
HttpServerOptions options)
Provides the http server metrics SPI when an http server is created.
|
TCPMetrics<?> |
VertxMetrics.createMetrics(NetServer server,
SocketAddress localAddress,
NetServerOptions options)
Provides the net server metrics SPI when a net server is created.
|
void |
TCPMetrics.disconnected(S socketMetric,
SocketAddress remoteAddress)
Called when a client has disconnected, which is applicable for TCP connections.
|
void |
NetworkMetrics.exceptionOccurred(S socketMetric,
SocketAddress remoteAddress,
Throwable t)
Called when exceptions occur for a specific connection.
|
void |
DatagramSocketMetrics.listening(String localName,
SocketAddress localAddress)
Called when a socket is listening.
|
R |
HttpClientMetrics.requestBegin(E endpointMetric,
S socketMetric,
SocketAddress localAddress,
SocketAddress remoteAddress,
HttpClientRequest request)
Called when an http client request begins.
|
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 |
---|---|
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 |
---|---|
static SocketAddress |
SocketAddress.newInstance(SocketAddress arg) |
Constructor and Description |
---|
SocketAddress(SocketAddress delegate) |
Copyright © 2016. All rights reserved.