public class AmqpReceiver extends AmqpLink
| Constructor and Description |
|---|
AmqpReceiver(AmqpSession parent,
ReceiverImpl receiver,
QoS qos) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertExecuting() |
protected static void |
assertNotOnDispatchQueue() |
protected void |
attach() |
void |
close() |
protected void |
defer(Defer defer) |
void |
drain() |
protected AmqpConnection |
getConnection() |
AmqpDeliveryListener |
getDeliveryListener() |
protected ReceiverImpl |
getEndpoint() |
protected AmqpSession |
getParent() |
Future<EndpointError> |
getRemoteCloseFuture() |
EndpointError |
getRemoteError() |
Future<java.lang.Void> |
getRemoteOpenFuture() |
EndpointState |
getRemoteState() |
protected AmqpTransport |
getTransport() |
protected void |
onMessage(Delivery delivery,
org.fusesource.hawtbuf.Buffer buffer) |
void |
onRemoteClose(Callback<EndpointError> cb) |
void |
onRemoteOpen(Callback<java.lang.Void> cb) |
protected void |
processDelivery(Delivery delivery) |
protected void |
pumpOut() |
protected org.fusesource.hawtdispatch.DispatchQueue |
queue() |
void |
resume() |
void |
setDeliveryListener(AmqpDeliveryListener deliveryListener) |
void |
suspend() |
protected static EndpointError |
toError(java.lang.Throwable value) |
EndpointError |
waitForRemoteClose() |
void |
waitForRemoteOpen() |
addWatch, fireWatchespublic AmqpReceiver(AmqpSession parent, ReceiverImpl receiver, QoS qos)
protected ReceiverImpl getEndpoint()
protected AmqpSession getParent()
protected void processDelivery(Delivery delivery)
processDelivery in class AmqpLinkprotected void onMessage(Delivery delivery, org.fusesource.hawtbuf.Buffer buffer)
public void drain()
public void resume()
public void suspend()
public AmqpDeliveryListener getDeliveryListener()
public void setDeliveryListener(AmqpDeliveryListener deliveryListener)
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 void close()
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.