## Uses of Interface
com.sun.messaging.jms.Connection

Packages that use Connection
Package | Description
--- | ---
com.sun.messaging.jms.notification | Provides a notification API for the MQ client runtime to inform an application about a MQ connection state changes.

### Uses of Connection in com.sun.messaging.jms.notification

Fields in com.sun.messaging.jms.notification declared as Connection
Modifier and Type | Field and Description
--- | ---
`protected Connection` | ConnectionEvent.`connection` The connection object that associated with this event.

Methods in com.sun.messaging.jms.notification that return Connection
Modifier and Type | Method and Description
--- | ---
`Connection` | ConnectionEvent.`getConnection()` Get the current connection associated with this event.
`Connection` | ConsumerEvent.`getConnection()` Get the connection on which the event was received.

Constructors in com.sun.messaging.jms.notification with parameters of type Connection
Constructor and Description
`ConnectionClosedEvent(Connection conn, java.lang.String evCode, java.lang.String evMessage, JMSException jmse)` Construct a connection closed event.
`ConnectionClosingEvent(Connection conn, java.lang.String evCode, java.lang.String evMessage, long timePeriod)` Construct a ConnectionClosingEvent object associated with the connection specified.
`ConnectionEvent(Connection conn, java.lang.String evCode, java.lang.String evMessage)` Construct a MQ connection event.
`ConnectionReconnectedEvent(Connection conn, java.lang.String evCode, java.lang.String evMessage)` Construct a connection reconnect event.
`ConnectionReconnectFailedEvent(Connection conn, java.lang.String evCode, java.lang.String evMessage, JMSException jmse)` Construct a connection reconnect failed event associated with the specified connection.
`ConsumerEvent(Destination dest, Connection conn, java.lang.String evCode, java.lang.String evMessage)` Construct a MQ consumer event.