com.sun.messaging.jms.notification
public class Event extends EventObject
source
Constructor and Description |
---|
Event(Object source,
String evCode,
String evMessage)
Construct a MQ event associated with the source specified.
|
Modifier and Type | Method and Description |
---|---|
String |
getEventCode()
Get the event code associated with the MQ event.
|
String |
getEventMessage()
Get the event message associated with the connection event.
|
String |
toString()
Returns a MQ event notification event message.
|
getSource
public Event(Object source, String evCode, String evMessage)
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.public String getEventCode()
public String getEventMessage()
public String toString()
eventCode + ":" + eventMessage + ", " + source=" + source.toString().
toString
in class EventObject
Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.