Interface NotificationsService
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.RpcService
@Generated("mdsal-binding-generator") public interface NotificationsService extends org.opendaylight.yangtools.yang.binding.RpcService
Interface for implementing the following YANG RPCs defined in module notificationsrpc create-subscription { input input { leaf stream { type streamNameType; default NETCONF; } anyxml filter { } leaf startTime { type yang:date-and-time; } leaf stopTime { type yang:date-and-time; } } }
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<CreateSubscriptionOutput>>createSubscription(CreateSubscriptionInput input)Invokecreate-subscriptionRPC.
-
-
-
Method Detail
-
createSubscription
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<CreateSubscriptionOutput>> createSubscription(CreateSubscriptionInput input)
Invokecreate-subscriptionRPC.The command to create a notification subscription. It takes as argument the name of the notification stream and filter. Both of those options limit the content of the subscription. In addition, there are two time-related parameters, startTime and stopTime, which can be used to select the time interval of interest to the notification replay feature.- Parameters:
input- ofcreate-subscription- Returns:
- output of
create-subscription
-
-