|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.qpid.protocol.AMQMethodEvent<M>
public class AMQMethodEvent<M extends AMQMethodBody>
AMQMethodEvent encapsulates an AMQP method call, and the channel on which that method call occurred.
Supplies the:AMQMethodListener
s.
Responsibilities | Collaborations |
---|---|
Encapsulate an AMQP method call and the channel as the context for the method call. |
Constructor Summary | |
---|---|
AMQMethodEvent(int channelId,
M method)
Creates a method event to encasulate a method call and channel. |
Method Summary | |
---|---|
int |
getChannelId()
Gets the channel handle for the method call. |
M |
getMethod()
Gets the method call. |
String |
toString()
Prints the method call as a string, mainly for debugging purposes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AMQMethodEvent(int channelId, M method)
channelId
- The channel on which the method call occurred.method
- The method call.Method Detail |
---|
public M getMethod()
public int getChannelId()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |