383/461

## glassfish:kernel:connection-queue:connectionAcceptedEvent

connection accepted event

Synopsis

    glassfish:kernel:connection-queue:connectionAcceptedEvent(
    java.lang.String listenerName,
    int connectionId,
    java.lang.String address)

Description

This event is called when a new network connection gets accepted by the server.

Use this event to count the number of accepted, alive network connections.

Parameters

`listenerName`

  The name of the network listener that accepted the new connection.

`connectionId`

  The network connection ID.

`address`

  The remote address of the connection that got accepted. The address format can differ depending on the network transport used. For TCP transport, which is used most often, the format is the same as JDK `java.net.InetSocketAddress.toString`.