Uses of Interface
com.sun.messaging.jms.Connection
Packages that use Connection
Package
Description
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 ConnectionModifier and TypeFieldDescriptionprotected Connection
ConnectionEvent.connection
The connection object that associated with this event.Methods in com.sun.messaging.jms.notification that return ConnectionModifier and TypeMethodDescriptionConnectionEvent.getConnection()
Get the current connection associated with this event.ConsumerEvent.getConnection()
Get the connection on which the event was received.Constructors in com.sun.messaging.jms.notification with parameters of type ConnectionModifierConstructorDescriptionConnectionClosedEvent
(Connection conn, String evCode, String evMessage, jakarta.jms.JMSException jmse) Construct a connection closed event.ConnectionClosingEvent
(Connection conn, String evCode, String evMessage, long timePeriod) Construct a ConnectionClosingEvent object associated with the connection specified.ConnectionEvent
(Connection conn, String evCode, String evMessage) Construct a MQ connection event.ConnectionReconnectedEvent
(Connection conn, String evCode, String evMessage) Construct a connection reconnect event.ConnectionReconnectFailedEvent
(Connection conn, String evCode, String evMessage, jakarta.jms.JMSException jmse) Construct a connection reconnect failed event associated with the specified connection.ConsumerEvent
(Destination dest, Connection conn, String evCode, String evMessage) Construct a MQ consumer event.