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 Summary
FieldsModifier and TypeFieldDescriptionstatic final String
A connection was closed.static final String
A connection was created.static final String
A connection was rejected.Fields inherited from class com.sun.messaging.jms.management.server.MQNotification
PREFIX
Fields inherited from class javax.management.Notification
source
-
Constructor Summary
ConstructorsConstructorDescriptionConnectionNotification
(String type, Object source, long sequenceNumber) Creates a ConnectionNotification object. -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
setRemoteHost
(String remoteHost) void
setServiceName
(String serviceName) void
setUserName
(String userName) Methods inherited from class javax.management.Notification
getMessage, getSequenceNumber, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData, toString
Methods inherited from class java.util.EventObject
getSource
-
Field Details
-
CONNECTION_OPEN
A connection was created.- See Also:
-
CONNECTION_CLOSE
A connection was closed.- See Also:
-
CONNECTION_REJECT
A connection was rejected.- See Also:
-
-
Constructor Details
-
ConnectionNotification
Creates 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
-