## Uses of Interface
io.vertx.core.net.SocketAddress

- Packages that use SocketAddress
  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 |

- - ### Uses of SocketAddress in io.vertx.core.datagram

    Methods in io.vertx.core.datagram that return SocketAddress
    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`.

  - ### Uses of SocketAddress in io.vertx.core.http

    Methods in io.vertx.core.http that return SocketAddress
    Modifier and Type | Method and Description
    --- | ---
    `SocketAddress` | HttpConnection.`localAddress()`
    `SocketAddress` | HttpServerRequest.`localAddress()`
    `SocketAddress` | WebSocketBase.`localAddress()`
    `SocketAddress` | HttpConnection.`remoteAddress()`
    `SocketAddress` | HttpServerRequest.`remoteAddress()`
    `SocketAddress` | WebSocketBase.`remoteAddress()`

  - ### Uses of SocketAddress in io.vertx.core.net

    Methods in io.vertx.core.net that return SocketAddress
    Modifier and Type | Method and Description
    --- | ---
    `SocketAddress` | NetSocket.`localAddress()`
    `SocketAddress` | NetSocket.`remoteAddress()`

  - ### Uses of SocketAddress in io.vertx.core.spi.metrics

    Methods in io.vertx.core.spi.metrics with parameters of type SocketAddress
    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(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.

  - ### Uses of SocketAddress in io.vertx.ext.web.handler.sockjs

    Methods in io.vertx.ext.web.handler.sockjs that return SocketAddress
    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

  - ### Uses of SocketAddress in io.vertx.rxjava.core.net

    Methods in io.vertx.rxjava.core.net that return SocketAddress
    Modifier and Type | Method and Description
    --- | ---
    `SocketAddress` | SocketAddress.`getDelegate()`

    Methods in io.vertx.rxjava.core.net with parameters of type SocketAddress
    Modifier and Type | Method and Description
    --- | ---
    `static SocketAddress` | SocketAddress.`newInstance(SocketAddress arg)`

    Constructors in io.vertx.rxjava.core.net with parameters of type SocketAddress
    Constructor and Description
    `SocketAddress(SocketAddress delegate)`

Copyright © 2017. All rights reserved.