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