## Uses of Interface
com.hazelcast.nio.Connection

- Packages that use Connection
  Package | Description
  --- | ---
  com.hazelcast.client.connection | Provides connection interfaces/classes for com.hazelcast.client Everything in this package and its subpackages is private.
  com.hazelcast.client.connection.nio | Contains classes related to New IO for com.hazelcast.client.connection
  com.hazelcast.client.proxy.txn | Contains classes related to proxy for client transactions
  com.hazelcast.client.spi | Contains classes/interfaces related to the Hazelcast client Service Provider Interface.
  com.hazelcast.instance | This package contains Hazelcast Instance functionality.
  com.hazelcast.nio | This package contains classes related to New IO
  com.hazelcast.nio.tcp | Contains functionality for the TCP/IP Networking for cluster members This whole package is internal and no compatibility will be provided.
  com.hazelcast.spi | Provides interfaces/classes for the Hazelcast SPI for building distributed data structures and services.

- - ### Uses of Connection in com.hazelcast.client.connection

    Methods in com.hazelcast.client.connection that return Connection
    Modifier and Type | Method and Description
    --- | ---
    `Connection` | ClientConnectionManager.`getActiveConnection(Address address)`
    `Connection` | ClientConnectionManager.`getOrConnect(Address address)`
    `Connection` | ClientConnectionManager.`getOrTriggerConnect(Address address, boolean acquiresResource)`

  - ### Uses of Connection in com.hazelcast.client.connection.nio

    Classes in com.hazelcast.client.connection.nio that implement Connection
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ClientConnection` Client implementation of `Connection`.

    Methods in com.hazelcast.client.connection.nio that return Connection
    Modifier and Type | Method and Description
    --- | ---
    `Connection` | ClientConnectionManagerImpl.`getActiveConnection(Address target)`
    `Connection` | ClientConnectionManagerImpl.`getOrConnect(Address address)`
    `Connection` | ClientConnectionManagerImpl.`getOrConnect(Address address, boolean asOwner)`
    `Connection` | ClientConnectionManagerImpl.`getOrTriggerConnect(Address target, boolean acquiresResources)`

    Methods in com.hazelcast.client.connection.nio with parameters of type Connection
    Modifier and Type | Method and Description
    --- | ---
    `void` | ClusterConnectorServiceImpl.`connectionAdded(Connection connection)`
    `void` | ClientICMPManager.`connectionAdded(Connection connection)`
    `void` | ClusterConnectorServiceImpl.`connectionRemoved(Connection connection)`
    `void` | ClientICMPManager.`connectionRemoved(Connection connection)`

  - ### Uses of Connection in com.hazelcast.client.proxy.txn

    Methods in com.hazelcast.client.proxy.txn with parameters of type Connection
    Modifier and Type | Method and Description
    --- | ---
    `static com.hazelcast.client.impl.protocol.ClientMessage` | ClientTransactionUtil.`invoke(com.hazelcast.client.impl.protocol.ClientMessage request, String objectName, com.hazelcast.client.impl.clientside.HazelcastClientInstanceImpl client, Connection connection)` Handles the invocation exception for transactions so that users will not see internal exceptions.

  - ### Uses of Connection in com.hazelcast.client.spi

    Methods in com.hazelcast.client.spi with parameters of type Connection
    Modifier and Type | Method and Description
    --- | ---
    `void` | ProxyManager.`createDistributedObjectsOnCluster(Connection ownerConnection)`

  - ### Uses of Connection in com.hazelcast.instance

    Methods in com.hazelcast.instance with type parameters of type Connection
    Modifier and Type | Method and Description
    --- | ---
    `<T extends Connection> EndpointManager<T>` | Node.`getEndpointManager(EndpointQualifier qualifier)`

  - ### Uses of Connection in com.hazelcast.nio

    Classes in com.hazelcast.nio with type parameters of type Connection
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `ConnectionLifecycleListener<T extends Connection>`
    `interface` | `EndpointManager<T extends Connection>` Responsible for managing `Connection` objects.
    `interface` | `NetworkingService<T extends Connection>` Networking service, it initializes the endpoints, the acceptor and the reactive networking stack Given an `EndpointQualifier` an `EndpointManager` can be retrieved by `NetworkingService.getEndpointManager(EndpointQualifier)` to create or get connections on that end.

    Methods in com.hazelcast.nio that return Connection
    Modifier and Type | Method and Description
    --- | ---
    `Connection` | Packet.`getConn()` Gets the Connection this Packet was send with.

    Methods in com.hazelcast.nio with parameters of type Connection
    Modifier and Type | Method and Description
    --- | ---
    `static void` | IOUtil.`close(Connection conn, String reason)`
    `void` | ConnectionListener.`connectionAdded(Connection connection)`
    `void` | ConnectionListener.`connectionRemoved(Connection connection)`
    `Packet` | Packet.`setConn(Connection conn)` Sets the Connection this Packet is send with.

  - ### Uses of Connection in com.hazelcast.nio.tcp

    Classes in com.hazelcast.nio.tcp that implement Connection
    Modifier and Type | Class and Description
    --- | ---
    `class` | `TcpIpConnection` The Tcp/Ip implementation of the `Connection`.

  - ### Uses of Connection in com.hazelcast.spi

    Methods in com.hazelcast.spi that return Connection
    Modifier and Type | Method and Description
    --- | ---
    `Connection` | Operation.`getConnection()`

    Methods in com.hazelcast.spi with parameters of type Connection
    Modifier and Type | Method and Description
    --- | ---
    `static void` | OperationAccessor.`setConnection(Operation op, Connection connection)`

Copyright © 2019. All rights reserved.