|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AMQMethodListener
Interface that allows classes to register for interest in protocol method frames.
Method Summary | ||
---|---|---|
void |
error(org.apache.qpid.AMQException e)
Callback when an error has occurred. |
|
|
methodReceived(AMQMethodEvent<B> evt,
AMQProtocolSession protocolSession,
QueueRegistry queueRegistry,
ExchangeRegistry exchangeRegistry)
Invoked when a method frame has been received |
Method Detail |
---|
<B extends org.apache.qpid.framing.AMQMethodBody> boolean methodReceived(AMQMethodEvent<B> evt, AMQProtocolSession protocolSession, QueueRegistry queueRegistry, ExchangeRegistry exchangeRegistry) throws org.apache.qpid.AMQException
evt
- the event that contains the method and channelprotocolSession
- the protocol session associated with the event
org.apache.qpid.AMQException
- if an error has occurred. This exception will be delivered
to all registered listeners using the error() method (see below) allowing them to
perform cleanup if necessary.void error(org.apache.qpid.AMQException e)
e
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |