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: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.