Class Event
java.lang.Object
java.util.EventObject
com.sun.messaging.jms.notification.Event
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ConnectionEvent,- ConsumerEvent
MQ Event. This is the super class for all MQ notification events. MQ may notify an application when a specific MQ
 event is about to occur or occurred.
 
- See Also:
- 
Field SummaryFields inherited from class java.util.EventObjectsource
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGet the event code associated with the MQ event.Get the event message associated with the connection event.toString()Returns a MQ event notification event message.Methods inherited from class java.util.EventObjectgetSource
- 
Constructor Details- 
EventConstruct a MQ event associated with the source specified.- Parameters:
- source- the source associated with the event.
- evCode- the event code that represents the this event object.
- evMessage- the event message that describes this event object.
 
 
- 
- 
Method Details- 
getEventCodeGet the event code associated with the MQ event.- Returns:
- the event code associated with the MQ event.
 
- 
getEventMessageGet the event message associated with the connection event.- Returns:
- the event message associated with the connection event.
 
- 
toStringReturns a MQ event notification event message. The format is as follows.eventCode + ":" + eventMessage + ", " + source=" + source.toString(). - Overrides:
- toStringin class- EventObject
- Returns:
- a String representation of this EventObject.
 
 
-