Package org.opendaylight.mdsal.dom.api
Interface DOMActionService
-
- All Superinterfaces:
DOMExtensibleService<DOMActionService,DOMActionServiceExtension>
,DOMService
@Beta @NonNullByDefault public interface DOMActionService extends DOMExtensibleService<DOMActionService,DOMActionServiceExtension>
ADOMService
which allows clients to invoke Actions. The conceptual model of this service is that of a dynamic router, where the set of available Action services can change dynamically.- Author:
- Robert Varga
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListenableFuture<? extends DOMActionResult>
invokeAction(org.opendaylight.yangtools.yang.model.api.SchemaPath type, DOMDataTreeIdentifier path, org.opendaylight.yangtools.yang.data.api.schema.ContainerNode input)
Initiate invocation of an Action.-
Methods inherited from interface org.opendaylight.mdsal.dom.api.DOMExtensibleService
getExtensions
-
-
-
-
Method Detail
-
invokeAction
ListenableFuture<? extends DOMActionResult> invokeAction(org.opendaylight.yangtools.yang.model.api.SchemaPath type, DOMDataTreeIdentifier path, org.opendaylight.yangtools.yang.data.api.schema.ContainerNode input)
Initiate invocation of an Action. This method is guaranteed to not block on any external resources.- Parameters:
type
- SchemaPath of the action to be invoked. This path refers to an effective action instantiated on top of the conceptualStoreTreeNode
.path
-DOMDataTreeIdentifier
of parent data node which action attached to.input
- Input argument- Returns:
- A FluentFuture which completes with the result of invocation
- Throws:
NullPointerException
- if any of the arguments is null
-
-