## Uses of Interface
org.apache.activemq.artemis.spi.core.protocol.RemotingConnection

- Packages that use RemotingConnection
  Package | Description
  --- | ---
  org.apache.activemq.artemis.api.core |
  org.apache.activemq.artemis.api.core.client |
  org.apache.activemq.artemis.spi.core.protocol |
  org.apache.activemq.artemis.spi.core.remoting |
  org.apache.activemq.artemis.spi.core.security |
  org.apache.activemq.artemis.spi.core.security.jaas |

- - ### Uses of RemotingConnection in org.apache.activemq.artemis.api.core

    Methods in org.apache.activemq.artemis.api.core with parameters of type RemotingConnection
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | BaseInterceptor.`intercept​(P packet, RemotingConnection connection)` | Intercepts a packet which is received before it is sent to the channel

  - ### Uses of RemotingConnection in org.apache.activemq.artemis.api.core.client

    Methods in org.apache.activemq.artemis.api.core.client that return RemotingConnection
    Modifier and Type | Method | Description
    --- | --- | ---
    `RemotingConnection` | ClientSessionFactory.`getConnection()` | Returns the code connection used by this session factory.

    Methods in org.apache.activemq.artemis.api.core.client with parameters of type RemotingConnection
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | TopologyMember.`isMember​(RemotingConnection connection)` | Returns true if this TopologyMember is the target of this remoting connection

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

    Classes in org.apache.activemq.artemis.spi.core.protocol with type parameters of type RemotingConnection
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `AbstractProtocolManager<P,​I extends BaseInterceptor<P>,​C extends RemotingConnection,​R extends org.apache.activemq.artemis.core.server.balancing.RedirectHandler>` |

    Classes in org.apache.activemq.artemis.spi.core.protocol that implement RemotingConnection
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `AbstractRemotingConnection` |

    Fields in org.apache.activemq.artemis.spi.core.protocol declared as RemotingConnection
    Modifier and Type | Field | Description
    --- | --- | ---
    `RemotingConnection` | ConnectionEntry.`connection` |

    Methods in org.apache.activemq.artemis.spi.core.protocol with parameters of type RemotingConnection
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | ProtocolManager.`handleBuffer​(RemotingConnection connection, org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer)` |

    Constructors in org.apache.activemq.artemis.spi.core.protocol with parameters of type RemotingConnection
    Constructor | Description
    --- | ---
    `ConnectionEntry​(RemotingConnection connection, java.util.concurrent.Executor connectionExecutor, long lastCheck, long ttl)` |

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

    Fields in org.apache.activemq.artemis.spi.core.remoting declared as RemotingConnection
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected RemotingConnection` | SessionContext.`remotingConnection` |

    Methods in org.apache.activemq.artemis.spi.core.remoting that return RemotingConnection
    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)` |
    `RemotingConnection` | ClientProtocolManager.`getCurrentConnection()` |
    `RemotingConnection` | Connection.`getProtocolConnection()` |
    `RemotingConnection` | SessionContext.`getRemotingConnection()` |

    Methods in org.apache.activemq.artemis.spi.core.remoting with parameters of type RemotingConnection
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | TopologyResponseHandler.`nodeDisconnected​(RemotingConnection conn, java.lang.String nodeID, org.apache.activemq.artemis.api.core.DisconnectReason reason, java.lang.String targetNodeID, TransportConfiguration tagetConnector)` |
    `abstract boolean` | SessionContext.`reattachOnNewConnection​(RemotingConnection newConnection)` | it will either reattach or reconnect, preferably reattaching it.
    `void` | Connection.`setProtocolConnection​(RemotingConnection connection)` |
    `abstract void` | SessionContext.`transferConnection​(RemotingConnection newConnection)` | Transfers the session context to the given newConnection on the client-side

    Constructors in org.apache.activemq.artemis.spi.core.remoting with parameters of type RemotingConnection
    Constructor | Description
    --- | ---
    `SessionContext​(RemotingConnection remotingConnection)` |

  - ### Uses of RemotingConnection in org.apache.activemq.artemis.spi.core.security

    Methods in org.apache.activemq.artemis.spi.core.security with parameters of type RemotingConnection
    Modifier and Type | Method | Description
    --- | --- | ---
    `javax.security.auth.Subject` | ActiveMQBasicSecurityManager.`authenticate​(java.lang.String userToAuthenticate, java.lang.String passwordToAuthenticate, RemotingConnection remotingConnection, java.lang.String securityDomain)` |
    `javax.security.auth.Subject` | ActiveMQJAASSecurityManager.`authenticate​(java.lang.String user, java.lang.String password, RemotingConnection remotingConnection, java.lang.String securityDomain)` |
    `javax.security.auth.Subject` | ActiveMQSecurityManager5.`authenticate​(java.lang.String user, java.lang.String password, RemotingConnection remotingConnection, java.lang.String securityDomain)` | is this a valid user.
    `java.lang.String` | ActiveMQSecurityManager3.`validateUser​(java.lang.String user, java.lang.String password, RemotingConnection remotingConnection)` | is this a valid user.
    `java.lang.String` | ActiveMQSecurityManager4.`validateUser​(java.lang.String user, java.lang.String password, RemotingConnection remotingConnection, java.lang.String securityDomain)` | is this a valid user.
    `boolean` | ActiveMQSecurityManager2.`validateUserAndRole​(java.lang.String user, java.lang.String password, java.util.Set<org.apache.activemq.artemis.core.security.Role> roles, org.apache.activemq.artemis.core.security.CheckType checkType, java.lang.String address, RemotingConnection connection)` | Determine whether the given user is valid and whether they have the correct role for the given destination address.
    `java.lang.String` | ActiveMQSecurityManager3.`validateUserAndRole​(java.lang.String user, java.lang.String password, java.util.Set<org.apache.activemq.artemis.core.security.Role> roles, org.apache.activemq.artemis.core.security.CheckType checkType, java.lang.String address, RemotingConnection remotingConnection)` | Determine whether the given user is valid and whether they have the correct role for the given destination address.
    `java.lang.String` | ActiveMQSecurityManager4.`validateUserAndRole​(java.lang.String user, java.lang.String password, java.util.Set<org.apache.activemq.artemis.core.security.Role> roles, org.apache.activemq.artemis.core.security.CheckType checkType, java.lang.String address, RemotingConnection remotingConnection, java.lang.String securityDomain)` | Determine whether the given user is valid and whether they have the correct role for the given destination address.

  - ### Uses of RemotingConnection in org.apache.activemq.artemis.spi.core.security.jaas

    Constructors in org.apache.activemq.artemis.spi.core.security.jaas with parameters of type RemotingConnection
    Constructor | Description
    --- | ---
    `JaasCallbackHandler​(java.lang.String username, java.lang.String password, RemotingConnection remotingConnection)` |