1 package org.opendaylight.controller.mdsal;
3 option java_package = "org.opendaylight.controller.protobuff.messages.registration";
4 option java_outer_classname = "ListenerRegistrationMessages";
6 /** used when a listener needs to be unregistered*/
7 message CloseDataChangeListenerRegistration {
10 /** reply to the CloseDataChangeListenerRegistration request*/
11 message CloseDataChangeListenerRegistrationReply{
16 * When registering a listener at particular level of tree
17 * identified by instanceIdentifierPath.
18 * dataChangeListenerActorPath is path to actor that will
19 * receive the change event
20 * scope is the data change scope like BASE,ONE and SUBTREE
21 * defined in AsyncDataBroker.DataChangeScope
24 message RegisterChangeListener{
25 required string instanceIdentifierPath=1;
26 required string dataChangeListenerActorPath=2;
27 required int32 dataChangeScope=3;
30 * This is the reply for the RegisterChangeListener message
31 * It contains the listenerRegistration actor path
32 * that can be used to unregister the listener
34 message RegisterChangeListenerReply{
35 required string listenerRegistrationPath=1;