public class AmqpSession
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
accepted(long deliveryId) |
boolean |
addReceiverLink(AmqpReceiverLink link,
DistributionMode distMode,
SettleMode settleMode) |
boolean |
addSenderLink(AmqpSenderLink link,
SettleMode settleMode) |
AmqpLink |
detachOutgoingLink(int handle) |
int |
getOutgoingIndex() |
AmqpLink |
getOutgoingLink(int handle) |
void |
modified(long deliveryId,
boolean isFailed,
boolean isUndeliverableHere) |
void |
onAccepted(long deliveryId) |
void |
onFlow(FrameFlow flow) |
void |
onReceiverDisposition(long xid,
DeliveryState state,
long first,
long last) |
void |
onRejected(long deliveryId,
java.lang.String msg) |
void |
onSenderDisposition(long xid,
DeliveryState state,
long first,
long last) |
void |
outgoingAccepted(long deliveryId) |
void |
rejected(long deliveryId,
java.lang.String errorMessage) |
void |
released(long deliveryId) |
java.lang.String |
toString() |
void |
transfer(AmqpSenderLink link,
long mid,
SettleMode settleMode,
java.io.InputStream is)
Sends a message to the network.
|
public int getOutgoingIndex()
public boolean addSenderLink(AmqpSenderLink link, SettleMode settleMode)
public boolean addReceiverLink(AmqpReceiverLink link, DistributionMode distMode, SettleMode settleMode)
public AmqpLink detachOutgoingLink(int handle)
public AmqpLink getOutgoingLink(int handle)
public void transfer(AmqpSenderLink link, long mid, SettleMode settleMode, java.io.InputStream is)
public void accepted(long deliveryId)
public void outgoingAccepted(long deliveryId)
public void rejected(long deliveryId, java.lang.String errorMessage)
handle
- public void modified(long deliveryId, boolean isFailed, boolean isUndeliverableHere)
handle
- public void released(long deliveryId)
handle
- public void onFlow(FrameFlow flow)
public void onSenderDisposition(long xid, DeliveryState state, long first, long last)
public void onReceiverDisposition(long xid, DeliveryState state, long first, long last)
public void onAccepted(long deliveryId)
deliveryId
- public void onRejected(long deliveryId, java.lang.String msg)
deliveryId
- msg
- public java.lang.String toString()
toString
in class java.lang.Object