Class ConnectionNotification
java.lang.Object
java.util.EventObject
javax.management.Notification
com.sun.messaging.jms.management.server.MQNotification
com.sun.messaging.jms.management.server.ConnectionNotification
- All Implemented Interfaces:
- Serializable
Class containing information on cluster operations.
 
The MQ specific fields in this notification is TBD.
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringA connection was closed.static final StringA connection was created.static final StringA connection was rejected.Fields inherited from class com.sun.messaging.jms.management.server.MQNotificationPREFIXFields inherited from class javax.management.Notificationsource
- 
Constructor SummaryConstructorsConstructorDescriptionConnectionNotification(String type, Object source, long sequenceNumber) Creates a ConnectionNotification object.
- 
Method SummaryModifier and TypeMethodDescriptionvoidvoidsetRemoteHost(String remoteHost) voidsetServiceName(String serviceName) voidsetUserName(String userName) Methods inherited from class javax.management.NotificationgetMessage, getSequenceNumber, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData, toStringMethods inherited from class java.util.EventObjectgetSource
- 
Field Details- 
CONNECTION_OPENA connection was created.- See Also:
 
- 
CONNECTION_CLOSEA connection was closed.- See Also:
 
- 
CONNECTION_REJECTA connection was rejected.- See Also:
 
 
- 
- 
Constructor Details- 
ConnectionNotificationCreates a ConnectionNotification object.- Parameters:
- type- The notification type.
- source- The notification source.
- sequenceNumber- The notification sequence number within the source object.
 
 
- 
- 
Method Details- 
setConnectionID
- 
getConnectionID
- 
setServiceName
- 
getServiceName
- 
setUserName
- 
getUserName
- 
setRemoteHost
- 
getRemoteHost
 
-