HawkListener:getConnections

Method

Purpose

This method (on all platforms) gets information on all current connections.

Remarks

 

Type

Synchronous, IMPACT_INFO

Arguments

None.

Returns

 

Name

Type

Description

clientID

String

Returns client ID for this connection

consumerCount

Integer

Number of consumers for this connection

host

String

Returns host for this connection

ID

Long

The value indicating connection ID

producerCount

Integer

Number of producers for this connection

sessionCount

Integer

Number of sessions for this connection

startTime

Long

The value indicating creation time, in milliseconds, for this connection

type

String

Returns destination type for this connection

upTime

Long

The value indicating time, in milliseconds, that this connection has been connected

URL

String

Returns URL for this connection

userName

String

Returns username for this connection