org.apache.qpid.proton.engine.impl
Class ReceiverImpl
java.lang.Object
org.apache.qpid.proton.engine.impl.EndpointImpl
org.apache.qpid.proton.engine.impl.LinkImpl
org.apache.qpid.proton.engine.impl.ReceiverImpl
- All Implemented Interfaces:
- Endpoint, Link, Receiver
public class ReceiverImpl
- extends LinkImpl
- implements Receiver
| Methods inherited from class org.apache.qpid.proton.engine.impl.LinkImpl |
addCredit, close, current, delivery, delivery, getConnectionImpl, getCredit, getName, getQueued, getReceiverSettleMode, getRemoteReceiverSettleMode, getRemoteSenderSettleMode, getRemoteSource, getRemoteTarget, getSenderSettleMode, getSession, getSource, getTarget, getUnsettled, next, open, remove, setCredit, setReceiverSettleMode, setRemoteSenderSettleMode, setSenderSettleMode, setSource, setTarget |
| 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.proton.engine.Link |
current, delivery, delivery, getCredit, getName, getQueued, getReceiverSettleMode, getRemoteReceiverSettleMode, getRemoteSenderSettleMode, getRemoteSource, getRemoteTarget, getSenderSettleMode, getSession, getSource, getTarget, getUnsettled, next, setReceiverSettleMode, setRemoteSenderSettleMode, setSenderSettleMode, setSource, setTarget |
ReceiverImpl
public ReceiverImpl(SessionImpl session,
String name)
advance
public boolean advance()
- Specified by:
advance in interface Link- Overrides:
advance in class LinkImpl
flow
public void flow(int credits)
- Specified by:
flow in interface Receiver
recv
public int recv(byte[] bytes,
int offset,
int size)
- Specified by:
recv in interface Receiver
unsettled
public Iterator<Delivery> unsettled()
- Specified by:
unsettled in interface Link
free
public void free()
- Specified by:
free in interface Endpoint- Overrides:
free in class LinkImpl
drain
public void drain(int credit)
- Specified by:
drain in interface Receiver
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.