abstract class AmqpEndpointBase extends WatchBase
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
AmqpEndpointBase.Attachment |
| Constructor and Description |
|---|
AmqpEndpointBase() |
| 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 AmqpEndpointBase |
getParent() |
Future<ErrorCondition> |
getRemoteCloseFuture() |
ErrorCondition |
getRemoteError() |
Future<java.lang.Void> |
getRemoteOpenFuture() |
EndpointState |
getRemoteState() |
protected AmqpTransport |
getTransport() |
void |
onRemoteClose(Callback<ErrorCondition> cb) |
void |
onRemoteOpen(Callback<java.lang.Void> cb) |
protected void |
pumpOut() |
protected org.fusesource.hawtdispatch.DispatchQueue |
queue() |
protected static ErrorCondition |
toError(java.lang.Throwable value) |
ErrorCondition |
waitForRemoteClose() |
void |
waitForRemoteOpen() |
addWatch, fireWatchesprotected abstract Endpoint getEndpoint()
protected abstract 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 ErrorCondition waitForRemoteClose() throws java.lang.Exception
java.lang.Exceptionpublic Future<ErrorCondition> getRemoteCloseFuture()
public void onRemoteClose(Callback<ErrorCondition> cb)
public void close()
public EndpointState getRemoteState()
public ErrorCondition getRemoteError()
protected static ErrorCondition toError(java.lang.Throwable value)
protected void attach()
protected void defer(Defer defer)
protected void pumpOut()
protected static void assertNotOnDispatchQueue()