com.sun.messaging.jms.management.server
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
public class ConnectionNotification
- extends MQNotification
Class containing information on cluster operations.
The MQ specific fields in this notification is TBD.
- See Also:
- Serialized Form
CONNECTION_OPEN
public static final String CONNECTION_OPEN
- A connection was created.
- See Also:
- Constant Field Values
CONNECTION_CLOSE
public static final String CONNECTION_CLOSE
- A connection was closed.
- See Also:
- Constant Field Values
CONNECTION_REJECT
public static final String CONNECTION_REJECT
- A connection was rejected.
- See Also:
- Constant Field Values
ConnectionNotification
public ConnectionNotification(String type,
Object source,
long sequenceNumber)
- Creates a ConnectionNotification object.
- Parameters:
type
- The notification type.source
- The notification source.sequenceNumber
- The notification sequence number within the source object.
setConnectionID
public void setConnectionID(String id)
getConnectionID
public String getConnectionID()
setServiceName
public void setServiceName(String serviceName)
getServiceName
public String getServiceName()
setUserName
public void setUserName(String userName)
getUserName
public String getUserName()
setRemoteHost
public void setRemoteHost(String remoteHost)
getRemoteHost
public String getRemoteHost()
Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.