A TCP client.

Multiple connections to different servers can be made using the same instance.

This client supports a configurable number of connection attempts and a configurable delay between attempts.

- `Anything`
  - `Object`
    - `Basic` ...and other supertypes
      - `NetClient` ...and other supertypes

- `NetClient`
  - `Basic`
    - `Identifiable`
    - `Object`
      - `Anything`
  - `Measured`

no subtypes hierarchy

Initializer
`NetClient(NetClient unknown)`

Inherited Attributes
Attributes inherited from: `Object` `hash`, `string`

Methods
`close` | `shared default void close()` Close the client. Any sockets which have not been closed manually will be closed here. The close is asynchronous and may not complete until some time after the method has returned.
`connect` | `shared default NetClient connect(SocketAddress remoteAddress, Anything(Throwable|NetSocket) connectHandler)` Open a connection to a server at the specific `remoteAddress`. The connect is done asynchronously and on success, a NetSocket instance is supplied via the `connectHandler` instance Parameters: `remoteAddress` the remote address
`connect` | `shared default NetClient connect(Integer port, String host, Anything(Throwable|NetSocket) connectHandler)` Open a connection to a server at the specific `port` and `host`. `host` can be a valid host name or IP address. The connect is done asynchronously and on success, a NetSocket instance is supplied via the `connectHandler` instance Parameters: `port` the port `host` the host
`connect` | `shared default NetClient connect(SocketAddress remoteAddress, String serverName, Anything(Throwable|NetSocket) connectHandler)` Open a connection to a server at the specific `remoteAddress`. The connect is done asynchronously and on success, a NetSocket instance is supplied via the `connectHandler` instance Parameters: `remoteAddress` the remote address `serverName` the SNI server name
`connect` | `shared default NetClient connect(Integer port, String host, String serverName, Anything(Throwable|NetSocket) connectHandler)` Open a connection to a server at the specific `port` and `host`. `host` can be a valid host name or IP address. The connect is done asynchronously and on success, a NetSocket instance is supplied via the `connectHandler` instance Parameters: `port` the port `host` the host `serverName` the SNI server name
`isMetricsEnabled` | `shared actual default Boolean isMetricsEnabled()` Whether the metrics are enabled for this measured object Refines `Measured.isMetricsEnabled`

Inherited Methods
Methods inherited from: `Object` `equals`
Methods inherited from: `Measured` `isMetricsEnabled()`