org.apache.activemq.artemis.spi.core.remoting

## Interface ServerConnectionLifeCycleListener

- All Superinterfaces:
    ConnectionLifeCycleListener

      public interface ServerConnectionLifeCycleListener
      extends ConnectionLifeCycleListener

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `connectionCreated(Acceptor acceptor, Connection connection, String protocol)` This method is used both by client connector creation and server connection creation through acceptors.

    - ### Methods inherited from interface org.apache.activemq.artemis.spi.core.remoting.ConnectionLifeCycleListener

      `connectionCreated, connectionDestroyed, connectionException, connectionReadyForWrites`

- - ### Method Detail

    - #### connectionCreated

          void connectionCreated(Acceptor acceptor,
                                 Connection connection,
                                 String protocol)

      This method is used both by client connector creation and server connection creation through acceptors. the acceptor will be set to null on client operations
      Parameters:
        `acceptor` - The acceptor here will be always null on a client connection created event.
        `connection` - the connection that has been created
        `protocol` - the protocol to use

Copyright © 2015. All rights reserved.