|
GlassFish(tm) Message Queue v4.5 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
com.sun.messaging.jms.notification.Event
com.sun.messaging.jms.notification.ConsumerEvent
public class ConsumerEvent
MQ Consumer Event.
Field Summary | |
---|---|
static String |
CONSUMER_READY
Consumer ready event code |
static String |
NO_CONSUMER
No consumer event code |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
ConsumerEvent(Destination dest,
Connection conn,
String evCode,
String evMessage)
Construct a MQ consumer event. |
Method Summary | |
---|---|
String |
getBrokerAddress()
Get the broker's address that sent the event. |
Connection |
getConnection()
Get the connection on which the event was received. |
Destination |
getDestination()
Get the destination on which the event was occurred. |
Methods inherited from class com.sun.messaging.jms.notification.Event |
---|
getEventCode, getEventMessage, toString |
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String CONSUMER_READY
public static final String NO_CONSUMER
Constructor Detail |
---|
public ConsumerEvent(Destination dest, Connection conn, String evCode, String evMessage)
dest
- the destination on which the event occurred.conn
- the connection on which the event was receivedevCode
- the event code that represents the this event object.evMessage
- the event message that describes this event object.Method Detail |
---|
public Connection getConnection()
public String getBrokerAddress()
public Destination getDestination()
|
GlassFish(tm) Message Queue v4.5 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |