Oracle GlassFish Server Reference Manual Release 3.1.2 Part Number E24938-01 |
|
|
View PDF |
connection connected event
glassfish:kernel:connection-queue:connectionConnectedEvent( java.lang.String listenerName, int connectionId, java.lang.String address)
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.
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()
.