@Beta public abstract class ClientActorBehavior extends AbstractClientActorBehavior<C> implements org.opendaylight.yangtools.concepts.Identifiable<org.opendaylight.controller.cluster.access.concepts.ClientIdentifier>
AbstractClientActor.| Modifier | Constructor and Description |
|---|---|
protected |
ClientActorBehavior(ClientActorContext context) |
| Modifier and Type | Method and Description |
|---|---|
org.opendaylight.controller.cluster.access.concepts.ClientIdentifier |
getIdentifier() |
protected abstract void |
haltClient(Throwable cause)
Halt And Catch Fire.
|
protected abstract ClientActorBehavior |
onCommand(Object command)
Override this method to handle any command which is not handled by the base behavior.
|
protected abstract BackendInfoResolver<?> |
resolver()
Override this method to provide a backend resolver instance.
|
void |
sendRequest(org.opendaylight.controller.cluster.access.commands.TransactionRequest<?> request,
RequestCallback callback)
Send a request to the backend and invoke a specified callback when it finishes.
|
context, persistenceId, selfprotected ClientActorBehavior(@Nonnull ClientActorContext context)
@Nonnull public final org.opendaylight.controller.cluster.access.concepts.ClientIdentifier getIdentifier()
getIdentifier in interface org.opendaylight.yangtools.concepts.Identifiable<org.opendaylight.controller.cluster.access.concepts.ClientIdentifier>protected abstract void haltClient(@Nonnull Throwable cause)
cause - Failure cause@Nullable protected abstract ClientActorBehavior onCommand(@Nonnull Object command)
command - @Nonnull protected abstract BackendInfoResolver<?> resolver()
public final void sendRequest(org.opendaylight.controller.cluster.access.commands.TransactionRequest<?> request,
RequestCallback callback)
request - Request to sendcallback - Callback to invokeCopyright © 2016 OpenDaylight. All rights reserved.