Interface ProtonDeliveryHandler
-
- All Known Implementing Classes:
AMQPMirrorControllerTarget,ProtonAbstractReceiver,ProtonClientSenderContext,ProtonServerReceiverContext,ProtonServerSenderContext,ProtonTransactionHandler
public interface ProtonDeliveryHandlerAn interface to handle deliveries, either messages, acks or transaction calls
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose(boolean remoteLinkClose)voidclose(org.apache.qpid.proton.amqp.transport.ErrorCondition condition)voidonFlow(int currentCredits, boolean drain)voidonMessage(org.apache.qpid.proton.engine.Delivery delivery)
-
-
-
Method Detail
-
onFlow
void onFlow(int currentCredits, boolean drain)
-
onMessage
void onMessage(org.apache.qpid.proton.engine.Delivery delivery) throws ActiveMQAMQPException- Throws:
ActiveMQAMQPException
-
close
void close(boolean remoteLinkClose) throws ActiveMQAMQPException- Throws:
ActiveMQAMQPException
-
close
void close(org.apache.qpid.proton.amqp.transport.ErrorCondition condition) throws ActiveMQAMQPException- Throws:
ActiveMQAMQPException
-
-