public class ProtonClientReceiverContext extends AbstractProtonReceiverContext implements AMQPClientReceiverContext
address, connection, protonSession, receiver, sessionSPI| Constructor and Description |
|---|
ProtonClientReceiverContext(AMQPSessionCallback sessionSPI,
AbstractConnectionContext connection,
AbstractProtonSessionContext protonSession,
org.apache.qpid.proton.engine.Receiver receiver) |
| Modifier and Type | Method and Description |
|---|---|
void |
flow(int credits) |
void |
onFlow(int credits,
boolean drain) |
void |
onMessage(org.apache.qpid.proton.engine.Delivery delivery) |
org.apache.qpid.proton.message.ProtonJMessage |
receiveMessage(int time,
TimeUnit unit) |
close, close, drain, drained, flow, isDrainingafterInit, initialise, isInitialized, waitWithTimeoutclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdrain, drained, isDrainingpublic ProtonClientReceiverContext(AMQPSessionCallback sessionSPI, AbstractConnectionContext connection, AbstractProtonSessionContext protonSession, org.apache.qpid.proton.engine.Receiver receiver)
public void onFlow(int credits,
boolean drain)
onFlow in interface ProtonDeliveryHandlerpublic void onMessage(org.apache.qpid.proton.engine.Delivery delivery)
throws ActiveMQAMQPException
onMessage in interface ProtonDeliveryHandlerActiveMQAMQPExceptionpublic org.apache.qpid.proton.message.ProtonJMessage receiveMessage(int time,
TimeUnit unit)
throws Exception
receiveMessage in interface AMQPClientReceiverContextExceptionpublic void flow(int credits)
flow in interface AMQPClientReceiverContextCopyright © 2016 The Apache Software Foundation. All Rights Reserved.