glassfish:kernel:connection-queue:connectionConnectedEvent

connection connected event

Synopsis

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

Description

This event is called when a new network connection is connected to a remote server.

Use this event to count the number of total or alive client connections made from the server. This event gets called only for client connections initiated from the Grizzly network framework.

Parameters

listenerName

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

connectionId

The network connection ID.

address

The remote address of the connection that got connected. 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().