public abstract class AmqpReceiverLink extends AmqpLink
Modifier | Constructor and Description |
---|---|
protected |
AmqpReceiverLink(java.lang.String name,
java.lang.String address) |
Modifier and Type | Method and Description |
---|---|
void |
accepted(long mid) |
void |
afterAttach()
Called after the attach has been sent to the peer.
|
protected int |
getPrefetchAvailable() |
FrameAttach.Role |
getRole() |
void |
modified(long mid,
boolean isFailure,
boolean isUndeliverableHere) |
protected void |
onTransfer(FrameTransfer transfer,
AmqpReader ain)
Message receivers implement this method to receive a
message fragment from the network.
|
void |
rejected(long mid,
java.lang.String message) |
void |
released(long mid) |
void |
setPeerDeliveryCount(long deliveryCount) |
void |
setPrefetch(int prefetch) |
void |
updatePrefetch(int prefetch) |
void |
updateTake() |
protected void |
updateTransfer() |
getAddress, getAttachProperties, getDeliveryCount, getIncomingHandle, getName, getOutgoingHandle, getSession, getSourceProperties, getTargetProperties, onAccepted, onFlow, onModified, onRejected, onReleased, setIncomingHandle, setOutgoingHandle, toString
protected AmqpReceiverLink(java.lang.String name, java.lang.String address)
public final FrameAttach.Role getRole()
public void afterAttach()
afterAttach
in class AmqpLink
protected int getPrefetchAvailable()
protected void onTransfer(FrameTransfer transfer, AmqpReader ain) throws java.io.IOException
onTransfer
in class AmqpLink
java.io.IOException
protected final void updateTransfer()
public void rejected(long mid, java.lang.String message)
public void modified(long mid, boolean isFailure, boolean isUndeliverableHere)
public void updateTake()
public void setPeerDeliveryCount(long deliveryCount)
setPeerDeliveryCount
in class AmqpLink
public final void setPrefetch(int prefetch)
public void updatePrefetch(int prefetch)