1 package org.opendaylight.controller.mdsal;
5 option java_package = "org.opendaylight.controller.protobuff.messages.registration";
6 option java_outer_classname = "ListenerRegistrationMessages";
8 /** used when a listener needs to be unregistered*/
9 message CloseDataChangeListenerRegistration {
12 /** reply to the CloseDataChangeListenerRegistration request*/
13 message CloseDataChangeListenerRegistrationReply{
18 * When registering a listener at particular level of tree
19 * identified by instanceIdentifierPath.
20 * dataChangeListenerActorPath is path to actor that will
21 * receive the change event
22 * scope is the data change scope like BASE,ONE and SUBTREE
23 * defined in AsyncDataBroker.DataChangeScope
26 message RegisterChangeListener{
27 required InstanceIdentifier instanceIdentifierPath=1;
28 required string dataChangeListenerActorPath=2;
29 required int32 dataChangeScope=3;
32 * This is the reply for the RegisterChangeListener message
33 * It contains the listenerRegistration actor path
34 * that can be used to unregister the listener
36 message RegisterChangeListenerReply{
37 required string listenerRegistrationPath=1;