public abstract class ClientEntity extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
ClientEntity(String clientId,
ClientEntity parent) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
close() |
void |
closeSync() |
String |
getClientId() |
protected Exception |
getLastKnownError() |
protected abstract CompletableFuture<Void> |
onClose() |
protected void |
setClosed() |
protected void |
throwIfClosed() |
protected ClientEntity(String clientId, ClientEntity parent)
protected abstract CompletableFuture<Void> onClose()
public String getClientId()
protected final void setClosed()
public final CompletableFuture<Void> close()
public final void closeSync()
throws ServiceBusException
ServiceBusExceptionprotected final void throwIfClosed()
protected Exception getLastKnownError()
Copyright © 2017. All rights reserved.