org.apache.qpid.client.state.listener
Class SpecificMethodFrameListener
java.lang.Object
org.apache.qpid.client.util.BlockingWaiter<org.apache.qpid.protocol.AMQMethodEvent>
org.apache.qpid.client.protocol.BlockingMethodFrameListener
org.apache.qpid.client.state.listener.SpecificMethodFrameListener
- All Implemented Interfaces:
- org.apache.qpid.protocol.AMQMethodListener
- Direct Known Subclasses:
- AMQSession_0_8.QueueDeclareOkHandler
public class SpecificMethodFrameListener
- extends BlockingMethodFrameListener
Method Summary |
boolean |
processMethod(int channelId,
org.apache.qpid.framing.AMQMethodBody frame)
Delegates any additional handling of the incoming methods to another handler. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.qpid.protocol.AMQMethodListener |
error |
SpecificMethodFrameListener
public SpecificMethodFrameListener(int channelId,
Class expectedClass)
processMethod
public boolean processMethod(int channelId,
org.apache.qpid.framing.AMQMethodBody frame)
- Description copied from class:
BlockingMethodFrameListener
- Delegates any additional handling of the incoming methods to another handler.
- Specified by:
processMethod
in class BlockingMethodFrameListener
- Parameters:
channelId
- The channel id of the incoming method.frame
- The method body.
- Returns:
- true if the method was handled, false otherwise.
Licensed to the Apache Software Foundation