## 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` | HttpServerRequest.`localAddress()`
    `SocketAddress` | WebSocketBase.`localAddress()`
    `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)` Called when a client has connected, which is applicable for TCP connections.
    `HttpServerMetrics<?,?,?>` | VertxMetrics.`createMetrics(HttpServer server, SocketAddress localAddress, HttpServerOptions options)` Provides the http server metrics SPI when an http server is created. No specific thread and context can be expected when this method is called. Note: this method can be called more than one time for the same `localAddress` when a server is scaled, it is the responsibility of the metrics implementation to eventually merge metrics.
    `TCPMetrics<?>` | VertxMetrics.`createMetrics(NetServer server, SocketAddress localAddress, NetServerOptions options)` Provides the net server metrics SPI when a net server is created. No specific thread and context can be expected when this method is called. Note: this method can be called more than one time for the same `localAddress` when a server is scaled, it is the responsibility of the metrics implementation to eventually merge metrics.
    `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(SocketAddress localAddress)` Called when a socket is listening.
    `R` | HttpClientMetrics.`requestBegin(S socketMetric, SocketAddress localAddress, SocketAddress remoteAddress, HttpClientRequest request)` Called when an http client request begins

  - ### 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 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 © 2015. All rights reserved.