public class AmqpConnectionWriter
extends java.lang.Object
Constructor and Description |
---|
AmqpConnectionWriter(WriteStream os) |
Modifier and Type | Method and Description |
---|---|
void |
attachReceiver(AmqpSession session,
AmqpLink link,
DistributionMode distMode,
SettleMode settleMode) |
void |
attachReply(AmqpSession session,
AmqpLink link) |
void |
attachSender(AmqpSession session,
AmqpLink link,
SettleMode settleMode) |
void |
disconnect() |
void |
flush() |
void |
sendDisposition(AmqpSession session,
long deliveryId,
DeliveryState state,
boolean isSettled) |
void |
sendFlow(AmqpSession session,
AmqpLink link,
long deliveryCount,
int credit) |
void |
sendFrame(AmqpAbstractFrame frame) |
void |
sendFrame(int channel,
AmqpAbstractFrame frame) |
void |
sendSaslChallenge() |
void |
transfer(AmqpSession session,
AmqpSenderLink link,
long deliveryId,
SettleMode settleMode,
java.io.InputStream is)
Transfers a message.
|
void |
writeBegin() |
void |
writeOpen() |
void |
writeVersion(int code) |
public AmqpConnectionWriter(WriteStream os)
public void writeVersion(int code) throws java.io.IOException
java.io.IOException
public void writeOpen()
public void writeBegin()
public void attachSender(AmqpSession session, AmqpLink link, SettleMode settleMode)
public void attachReceiver(AmqpSession session, AmqpLink link, DistributionMode distMode, SettleMode settleMode)
public void attachReply(AmqpSession session, AmqpLink link)
public void transfer(AmqpSession session, AmqpSenderLink link, long deliveryId, SettleMode settleMode, java.io.InputStream is)
public void sendDisposition(AmqpSession session, long deliveryId, DeliveryState state, boolean isSettled)
public void sendFlow(AmqpSession session, AmqpLink link, long deliveryCount, int credit)
handle
- public void disconnect()
public void sendFrame(AmqpAbstractFrame frame)
public void sendFrame(int channel, AmqpAbstractFrame frame)
public void flush()
public void sendSaslChallenge() throws java.io.IOException
java.io.IOException