org.apache.qpid.client.state.listener
Class SpecificMethodFrameListener

java.lang.Object
  extended by org.apache.qpid.client.protocol.BlockingMethodFrameListener
      extended by org.apache.qpid.client.state.listener.SpecificMethodFrameListener
All Implemented Interfaces:
AMQMethodListener

public class SpecificMethodFrameListener
extends BlockingMethodFrameListener


Field Summary
 
Fields inherited from class org.apache.qpid.client.protocol.BlockingMethodFrameListener
_channelId, _doneEvt
 
Constructor Summary
SpecificMethodFrameListener(int channelId, java.lang.Class expectedClass)
           
 
Method Summary
 boolean processMethod(int channelId, org.apache.qpid.framing.AMQMethodBody frame)
           
 
Methods inherited from class org.apache.qpid.client.protocol.BlockingMethodFrameListener
blockForFrame, error, methodReceived
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpecificMethodFrameListener

public SpecificMethodFrameListener(int channelId,
                                   java.lang.Class expectedClass)
Method Detail

processMethod

public boolean processMethod(int channelId,
                             org.apache.qpid.framing.AMQMethodBody frame)
                      throws org.apache.qpid.AMQException
Specified by:
processMethod in class BlockingMethodFrameListener
Throws:
org.apache.qpid.AMQException