public abstract class AmqpLink extends WatchBase
| Constructor and Description |
|---|
AmqpLink() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertExecuting() |
protected static void |
assertNotOnDispatchQueue() |
protected void |
attach() |
void |
close() |
protected void |
defer(Defer defer) |
protected AmqpConnection |
getConnection() |
protected abstract Endpoint |
getEndpoint() |
protected abstract org.apache.qpid.proton.hawtdispatch.api.AmqpEndpointBase |
getParent() |
Future<EndpointError> |
getRemoteCloseFuture() |
EndpointError |
getRemoteError() |
Future<java.lang.Void> |
getRemoteOpenFuture() |
EndpointState |
getRemoteState() |
protected AmqpTransport |
getTransport() |
void |
onRemoteClose(Callback<EndpointError> cb) |
void |
onRemoteOpen(Callback<java.lang.Void> cb) |
protected abstract void |
processDelivery(Delivery delivery) |
protected void |
pumpOut() |
protected org.fusesource.hawtdispatch.DispatchQueue |
queue() |
protected static EndpointError |
toError(java.lang.Throwable value) |
EndpointError |
waitForRemoteClose() |
void |
waitForRemoteOpen() |
addWatch, fireWatchesprotected abstract void processDelivery(Delivery delivery)
protected abstract Endpoint getEndpoint()
protected abstract org.apache.qpid.proton.hawtdispatch.api.AmqpEndpointBase getParent()
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.