## Uses of Interface
org.apache.activemq.artemis.spi.core.remoting.Connection

- Packages that use Connection
  Package | Description
  --- | ---
  org.apache.activemq.artemis.spi.core.protocol |
  org.apache.activemq.artemis.spi.core.remoting |

- - ### Uses of Connection in org.apache.activemq.artemis.spi.core.protocol

    Fields in org.apache.activemq.artemis.spi.core.protocol declared as Connection
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected Connection` | AbstractRemotingConnection.`transportConnection` |

    Methods in org.apache.activemq.artemis.spi.core.protocol that return Connection
    Modifier and Type | Method | Description
    --- | --- | ---
    `Connection` | AbstractRemotingConnection.`getTransportConnection()` |
    `Connection` | RemotingConnection.`getTransportConnection()` | return the underlying Connection.

    Methods in org.apache.activemq.artemis.spi.core.protocol with parameters of type Connection
    Modifier and Type | Method | Description
    --- | --- | ---
    `ConnectionEntry` | ProtocolManager.`createConnectionEntry​(Acceptor acceptorUsed, Connection connection)` |

    Constructors in org.apache.activemq.artemis.spi.core.protocol with parameters of type Connection
    Constructor | Description
    --- | ---
    `AbstractRemotingConnection​(Connection transportConnection, java.util.concurrent.Executor executor)` |

  - ### Uses of Connection in org.apache.activemq.artemis.spi.core.remoting

    Methods in org.apache.activemq.artemis.spi.core.remoting that return Connection
    Modifier and Type | Method | Description
    --- | --- | ---
    `Connection` | Connector.`createConnection()` | Create and return a connection from this connector.

    Methods in org.apache.activemq.artemis.spi.core.remoting with parameters of type Connection
    Modifier and Type | Method | Description
    --- | --- | ---
    `RemotingConnection` | ClientProtocolManager.`connect​(Connection transportConnection, long callTimeout, long callFailoverTimeout, java.util.List<Interceptor> incomingInterceptors, java.util.List<Interceptor> outgoingInterceptors, TopologyResponseHandler topologyResponseHandler)` |
    `void` | BaseConnectionLifeCycleListener.`connectionCreated​(org.apache.activemq.artemis.core.server.ActiveMQComponent component, Connection connection, ProtocolClass protocol)` | This method is used both by client connector creation and server connection creation through acceptors.