Skip Headers
Oracle GlassFish Server Reference Manual
Release 3.1.2

Part Number E24938-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

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().