public class AmqpSender extends AmqpLink
| Constructor and Description |
|---|
AmqpSender(AmqpSession parent,
SenderImpl sender,
QoS qos) |
addWatch, fireWatchespublic AmqpSender(AmqpSession parent, SenderImpl sender, QoS qos)
public void close()
protected SenderImpl getEndpoint()
protected AmqpSession getParent()
public MessageDelivery send(Message message)
public long getOverflowBufferSize()
protected void pumpDeliveries()
protected void processDelivery(Delivery delivery)
processDelivery in class AmqpLinkpublic void onOverflowBufferDrained(Callback<java.lang.Void> cb)
protected AmqpConnection getConnection()
protected AmqpTransport getTransport()
protected org.fusesource.hawtdispatch.DispatchQueue queue()
protected void assertExecuting()
public void waitForRemoteOpen()
throws java.lang.Exception
java.lang.Exceptionpublic Future<java.lang.Void> getRemoteOpenFuture()
public void onRemoteOpen(Callback<java.lang.Void> cb)
public EndpointError waitForRemoteClose() throws java.lang.Exception
java.lang.Exceptionpublic Future<EndpointError> getRemoteCloseFuture()
public void onRemoteClose(Callback<EndpointError> cb)
public EndpointState getRemoteState()
public EndpointError getRemoteError()
protected static EndpointError toError(java.lang.Throwable value)
protected void attach()
protected void defer(Defer defer)
protected void pumpOut()
protected static void assertNotOnDispatchQueue()
Copyright © 2013 FuseSource, Corp.. All Rights Reserved.