Add seed code for sdnr app based on ONF Centennial
[ccsdk/apps.git] / sdnr / wireless-transport / code-Carbon-SR1 / apps / devicemanager / impl / src / main / java / org / opendaylight / mwtn / deviceMonitor / impl / DeviceMonitor.java
1 /**
2  *
3  */
4 package org.opendaylight.mwtn.deviceMonitor.impl;
5
6 import org.opendaylight.mwtn.base.netconf.ONFCoreNetworkElementRepresentation;
7
8 /**
9  * @author herbert
10  *
11  */
12 public interface DeviceMonitor {
13
14
15     /**
16      * Stop the complete service and terminates all actions
17      */
18     public void close();
19
20     /**
21      * createMountpoint registers a new mountpoint monitoring service
22      * @param mountPointNodeName name of mountpoint
23      */
24     public void createMountpointIndication(String mountPointNodeName);
25
26     /**
27      * removeMountpoint deregisters a mountpoint for registration services
28      * @param mountPointNodeName to deregister
29      */
30     public void removeMountpointIndication(String mountPointNodeName);
31
32     /**
33      * Notify of device state changes to "connected"
34      * @param mountPointNodeName name of mountpoint
35      * @param ne to monitor
36      */
37     public void deviceConnectIndication(String mountPointNodeName, ONFCoreNetworkElementRepresentation ne);
38
39     /**
40      * Notify of device state change to "disconnected"
41      * @param mountPointNodeName to deregister
42      */
43     public void deviceDisconnectIndication(String mountPointNodeName);
44
45
46 }