918f78ec5e6479f399c839e5e13278ac1cd7b22b
[ccsdk/apps.git] / sdnr / wireless-transport / code-Carbon-SR1 / apps / devicemanager / impl / src / main / java / org / opendaylight / mwtn / devicemanager / impl / ProviderClient.java
1 package org.opendaylight.mwtn.devicemanager.impl;
2
3 import org.opendaylight.mwtn.devicemanager.impl.xml.ProblemNotificationXml;
4
5 public interface ProviderClient extends AutoCloseable {
6
7         /**
8          * Send out problem notification, that was created by a device/ or NE
9          * @param mountPointName related
10          * @param notification xml description
11          */
12     public void sendProblemNotification(String mountPointName, ProblemNotificationXml notification);
13
14         /**
15          * Send out problem notification
16          * @param mountPointName related
17          * @param notification xml description
18          * @param neDeviceAlarm  true indicates an NE originated alarm, false an sdncontroller generated alarm
19          */
20         public void sendProblemNotification(String mountPointName, ProblemNotificationXml notification, boolean neDeviceAlarm);
21
22 }