{"id":289519,"date":"2018-09-17T19:25:12","date_gmt":"2018-09-17T15:25:12","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=289519"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=289519","title":{"rendered":"\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0430\u0432\u0430\u0440\u0438\u0439 \u0447\u0435\u0440\u0435\u0437 NotificationIRP \u0432 OSS"},"content":{"rendered":"\n<div class=\"post__text post__text-html js-mediator-article\">\u0417\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439\u0442\u0435. \u0412 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 <a href=\"https:\/\/habr.com\/post\/422293\/\">\u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438<\/a> \u0431\u044b\u043b \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043d \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0445 \u0430\u0432\u0430\u0440\u0438\u0439 \u0447\u0435\u0440\u0435\u0437 AlarmIRP. \u0414\u0430\u043b\u0435\u0435, \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0430\u0432\u0430\u0440\u0438\u0439\u043d\u044b\u0445 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u043f\u043e \u043c\u0435\u0440\u0435 \u0438\u0445 \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f NotificationIRP. \u0412 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c NetAct Nokia.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u0412 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0438 \u0441 AlarmIRP \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u043c\u044b\u0439 \u0432 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043e\u0442 \u043d\u0430\u0441, \u043f\u043e\u043c\u0438\u043c\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f CORBA-\u043a\u043b\u0438\u0435\u043d\u0442\u0430, \u0435\u0449\u0451 \u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u00abCORBA-\u0441\u0435\u0440\u0432\u0435\u0440\u0430\u00bb \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438 \u0431\u0443\u0434\u0435\u0442 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u043f\u043e\u0441\u0442\u0443\u043f\u0430\u044e\u0449\u0438\u0435 \u043e\u0442 NotificationIRP \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f. \u0414\u0430\u043d\u043d\u044b\u0439 \u00ab\u0441\u0435\u0440\u0432\u0435\u0440\u00bb, \u043a\u0440\u043e\u043c\u0435 \u043f\u0440\u043e\u0447\u0435\u0433\u043e, \u0434\u043e\u043b\u0436\u0435\u043d \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u044b\u0432\u0430\u0442\u044c \u043c\u0435\u0442\u043e\u0434 <i>push_structured_events<\/i> \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 OSS \u0431\u0443\u0434\u0435\u0442 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0432 \u0432\u0438\u0434\u0435 <i>StructuredEvent[]<\/i>. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043a\u043b\u0430\u0441\u0441:  <\/p>\n<pre><code class=\"java\">private class IRPManager extends org.omg.CosNotifyComm.SequencePushConsumerPOA{ \t\t \t@Override \tpublic void push_structured_events(StructuredEvent[] notifications) throws org.omg.CosEventComm.Disconnected { \t\tfor (StructuredEvent alarm: notifications) { \t\t\talarmPrint(alarm); \t\t} \t}  \t@Override \tpublic void offer_change(EventType[] arg0, EventType[] arg1) throws org.omg.CosNotifyComm.InvalidEventType { \t\tSystem.out.println(\"Offer Change!\"); \t}  \t@Override \tpublic void disconnect_sequence_push_consumer() { \t\tSystem.out.println(\"Disconnected!\"); \t} } <\/code><\/pre>\n<p>  \u041c\u0435\u0442\u043e\u0434 alarmPrint \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u0435\u043d \u043e\u0434\u043d\u043e\u0438\u043c\u0451\u043d\u043d\u043e\u043c\u0443 \u0438\u0437 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0438. \u0412 \u043a\u043e\u043d\u0446\u0435 \u043f\u043e\u043b\u043d\u044b\u0439 \u043a\u043e\u0434 \u0432\u0441\u0435\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d. <br \/>  \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0443\u0436\u043d\u043e \u00ab\u043e\u0431\u0435\u0440\u043d\u0443\u0442\u044c\u00bb \u044d\u0442\u043e\u0442 \u043a\u043b\u0430\u0441\u0441 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u043e\u043c ORB-\u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c NotificationIRP \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u0435\u043c\u0443 \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442.  <\/p>\n<pre><code class=\"java\">_irpMan = new IRPManager(); _notificationOrb = ORB.init(new String[0], null); org.omg.CORBA.ORB orb = ORB.init(new String[0], null); org.omg.CORBA.Object rootObj = orb.string_to_object(readIOR()); _notifIrp = com.nsn.oss.nbi.internal.corba.NotificationIRPSystem.NotificationIRPHelper.narrow(rootObj); POA poa; poa = POAHelper.narrow(_notificationOrb.resolve_initial_references(\"RootPOA\")); poa.the_POAManager().activate(); _notifySrvr = poa.servant_to_reference(_irpMan); _notifyServer = _notificationOrb.object_to_string(_notifySrvr); \/\/\u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u043d\u0430\u0448 \u0441\u0435\u0440\u0432\u0435\u0440 String[] aCat = _notifIrp.get_notification_categories(new NotificationTypesSetHolder()); StringTypeOpt alarmFltr = new StringTypeOpt(); alarmFltr.value(alarmFilter); \/\/\u043f\u043e\u0434\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c\u0441\u044f \u043d\u0430 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f _attId = _notifIrp.attach_push(_notifyServer, timetick, aCat, alarmFltr, \"\"); \/\/\u0437\u0430\u043f\u0443\u0441\u043a ORB \u0432 \u043f\u043e\u0434\u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 (new notificationThread()).start(); <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 ORB \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434\u043f\u0440\u043e\u0446\u0435\u0441\u0441:  <\/p>\n<pre><code class=\"java\">private class notificationThread extends Thread { \tpublic void run() { \t\t_notificationOrb.run(); \t\t} } <\/code><\/pre>\n<p>  OSS \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043d\u0435\u0442 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043d\u0430\u043c \u043d\u043e\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u043f\u043e \u0438\u0441\u0442\u0435\u0447\u0435\u043d\u0438\u0438 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 <i>timetick<\/i>, \u043b\u0438\u0431\u043e \u043f\u043e\u043a\u0430 \u043c\u044b \u043d\u0435 \u043e\u0442\u043a\u0430\u0436\u0435\u043c\u0441\u044f \u043e\u0442 \u044d\u0442\u043e\u0433\u043e \u0432\u044b\u0437\u0432\u0430\u0432 \u043c\u0435\u0442\u043e\u0434 <i>detach<\/i>. \u0415\u0441\u043b\u0438 \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043f\u043e\u0441\u043b\u0435 \u0438\u0441\u0442\u0435\u0447\u0435\u043d\u0438\u044f \u0442\u0430\u0439\u043c\u0435\u0440\u0430, \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u043e\u0431\u0449\u0438\u0442\u044c \u043e\u0431 \u044d\u0442\u043e\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043c\u0435\u0442\u043e\u0434 <i>get_subscription_status<\/i>. \u041f\u0440\u0438 \u0435\u0433\u043e \u0432\u044b\u0437\u043e\u0432\u0435 \u0442\u0430\u0439\u043c\u0435\u0440 \u043d\u0430\u0447\u043d\u0451\u0442 \u043e\u0442\u0441\u0447\u0451\u0442 \u0437\u0430\u043d\u043e\u0432\u043e.<br \/>  \u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0432\u0441\u0451 \u0432\u043c\u0435\u0441\u0442\u0435, \u043d\u0430\u0439\u0442\u0438 \u0432 NetAct \u0442\u0440\u0435\u0431\u0443\u0435\u043c\u044b\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043a \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435 \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0437\u0430\u043f\u0443\u0449\u0435\u043d \u0441\u0435\u0440\u0432\u0435\u0440 <i>nbi3gc<\/i> (\u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 IOR \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u043c\u044b \u0447\u0438\u0442\u0430\u0435\u043c \u0438\u0437 \u0444\u0430\u0439\u043b\u0430). \u0414\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443:  <\/p>\n<blockquote><p>java -cp .:jacorb-3.1.jar:jacorb-services-3.1.jar:nbi3gc-internal-corba-interface-17.8.0.158.jar AlarmClient<\/p><\/blockquote>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u043e\u0434 \u0441\u043f\u043e\u0439\u043b\u0435\u0440\u043e\u043c \u043f\u043e\u043b\u043d\u044b\u0439 \u043a\u043e\u0434 \u043f\u0440\u0438\u043c\u0435\u0440\u0430<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"java\">import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import org.omg.CORBA.IntHolder; import org.omg.CORBA.ORB; import org.omg.CORBA.ORBPackage.InvalidName; import org.omg.CosNotification.EventType; import org.omg.CosNotification.Property; import org.omg.CosNotification.StructuredEvent; import org.omg.PortableServer.POA; import org.omg.PortableServer.POAHelper; import org.omg.PortableServer.POAManagerPackage.AdapterInactive; import org.omg.PortableServer.POAPackage.ServantNotActive; import org.omg.PortableServer.POAPackage.WrongPolicy; import org.omg.TimeBase.UtcT; import org.omg.TimeBase.UtcTHelper;  import com.nsn.oss.nbi.internal.corba.ManagedGenericIRPConstDefs.StringTypeOpt; import com.nsn.oss.nbi.internal.corba.ManagedGenericIRPConstDefs.StringTypeOptHolder; import com.nsn.oss.nbi.internal.corba.ManagedGenericIRPSystem.InvalidParameter; import com.nsn.oss.nbi.internal.corba.ManagedGenericIRPSystem.OperationNotSupported; import com.nsn.oss.nbi.internal.corba.ManagedGenericIRPSystem.ParameterNotSupported; import com.nsn.oss.nbi.internal.corba.NotificationIRPConstDefs.NotificationTypesSetHolder; import com.nsn.oss.nbi.internal.corba.NotificationIRPSystem.GetNotificationCategories;  public class AlarmClient { \tprivate com.nsn.oss.nbi.internal.corba.NotificationIRPSystem.NotificationIRP _notifIrp = null; \tpublic String alarmFilter =\"\"; \tprivate final long UNIX_OFFSET = 122192928000000000L; \tpublic String delimiter = \";\"; \tprivate org.omg.CORBA.ORB _notificationOrb = null; \tprivate String _notifyServer = null; \tprivate org.omg.CORBA.Object _notifySrvr = null; \tprivate String _attId = \"\"; \tprivate IRPManager _irpMan = null; \tpublic int timetick = 15;  \tpublic static void main(String[] args) { \t\tAlarmClient ac = new AlarmClient(); \t\tac.startNotifications(); \t\ttry { \t\t\tThread.sleep(20000); \t\t} catch (InterruptedException e) { \t\t\te.printStackTrace(); \t\t} \t\tac.stopNotifications(); \t}  \tprivate String readIOR(String iorType) {         File f = new File(\"\/d\/oss\/global\/var\/NSN-nbi3gc\/ior\/NotificationIRP.ior\");         BufferedReader br;         String iorContents = null; \t\ttry { \t\t\tbr = new BufferedReader(new FileReader(f)); \t        iorContents = br.readLine(); \t        br.close(); \t\t} catch (IOException e) { \t\t\te.printStackTrace(); \t\t}         return iorContents; \t} \t \tprivate void alarmPrint(StructuredEvent alarm){ \t\tString result = \"\"; \t\tUtcT timeValue = null; \t\tDate dt; \t\tDateFormat df; \t\tif (alarm.filterable_data != null) { \t\t\tfor (Property filterableData: alarm.filterable_data) { \t\t\t\tString fieldName = filterableData.name; \t\t\t\tswitch (fieldName){ \t\t\t\tcase \"b\": \t\t\t\t\ttimeValue = UtcTHelper.extract(filterableData.value); \t\t\t\t\tdt = new Date((timeValue.time - UNIX_OFFSET) \/ 10000); \t\t\t\t\tdf = new SimpleDateFormat(\"dd-MM-yyyy HH:mm:ss\"); \t\t\t\t\tresult = result + df.format(dt) + delimiter; \t\t\t\t\tbreak; \t\t\t\tcase \"e\": \t\t\t\t\tresult = result + filterableData.value.extract_string() + delimiter; \t\t\t\t\tbreak; \t\t\t\tcase \"i\": \t\t\t\t\tresult = result + filterableData.value.extract_string() + delimiter; \t\t\t\t\tbreak; \t\t\t\t} \t\t\t} \t\t} \t\t\tSystem.out.println(result); \t}   \tpublic void startNotifications(){ \t\t_irpMan = new IRPManager(); \t\t_notificationOrb = ORB.init(new String[0], null); \t\torg.omg.CORBA.ORB orb = ORB.init(new String[0], null); \t\torg.omg.CORBA.Object rootObj = orb.string_to_object(readIOR(\"NotificationIRP\")); \t\t_notifIrp = com.nsn.oss.nbi.internal.corba.NotificationIRPSystem.NotificationIRPHelper.narrow(rootObj); \t\tPOA poa; \t\ttry { \t\t\tpoa = POAHelper.narrow(_notificationOrb.resolve_initial_references(\"RootPOA\")); \t\tpoa.the_POAManager().activate(); \t\t_notifySrvr = poa.servant_to_reference(_irpMan); \t\t_notifyServer = _notificationOrb.object_to_string(_notifySrvr); \t\tString[] aCat = _notifIrp.get_notification_categories(new NotificationTypesSetHolder()); \t\tStringTypeOpt alarmFltr = new StringTypeOpt(); \t\talarmFltr.value(alarmFilter); \t\t_attId = _notifIrp.attach_push(_notifyServer, timetick, aCat, alarmFltr, \"\"); \t\t(new notificationThread()).start(); \t\t} catch (InvalidName | AdapterInactive | ParameterNotSupported |  \t\t\t\tcom.nsn.oss.nbi.internal.corba.NotificationIRPSystem.AtLeastOneNotificationCategoryNotSupported |  \t\t\t\tInvalidParameter | com.nsn.oss.nbi.internal.corba.NotificationIRPSystem.Attach |  \t\t\t\tcom.nsn.oss.nbi.internal.corba.NotificationIRPSystem.AlreadySubscribed | ServantNotActive | \t\t\t\tWrongPolicy | GetNotificationCategories | OperationNotSupported e) { \t\t\te.printStackTrace(); \t\t} \t} \t \tpublic void stopNotifications() { \t\ttry { \t\t\t_notifIrp.detach(_notifyServer, _attId); \t\t\t_notificationOrb.shutdown(true); \t\t} catch (com.nsn.oss.nbi.internal.corba.NotificationIRPSystem.DetachException | ParameterNotSupported \t\t\t\t| InvalidParameter e) { \t\t\te.printStackTrace(); \t\t} \t} \t \tpublic int renewSubscription() { \t\tcom.nsn.oss.nbi.internal.corba.NotificationIRPConstDefs.SubscriptionStateHolder arg2 = new com.nsn.oss.nbi.internal.corba.NotificationIRPConstDefs.SubscriptionStateHolder(); \t\tIntHolder arg3 = new IntHolder(); \t\tStringTypeOptHolder arg1 = new StringTypeOptHolder(); \t\targ1.value.value(alarmFilter); \t\ttry { \t\t\t_notifIrp.get_subscription_status(_attId, arg1, arg2, arg3); \t\t} catch (InvalidParameter | com.nsn.oss.nbi.internal.corba.ManagedGenericIRPSystem.OperationNotSupported \t\t\t\t| com.nsn.oss.nbi.internal.corba.NotificationIRPSystem.GetSubscriptionStatus e) { \t\t\te.printStackTrace(); \t\t} \t\treturn arg2.value.value(); \t} \t \tprivate class IRPManager extends org.omg.CosNotifyComm.SequencePushConsumerPOA{ \t\t \t\t@Override \t\tpublic void push_structured_events(StructuredEvent[] notifications) throws org.omg.CosEventComm.Disconnected { \t\t\tfor (StructuredEvent alarm: notifications) { \t\t\t\talarmPrint(alarm); \t\t\t} \t\t}   \t\t@Override \t\tpublic void offer_change(EventType[] arg0, EventType[] arg1) throws org.omg.CosNotifyComm.InvalidEventType { \t\t\tSystem.out.println(\"Offer Change!\"); \t\t}   \t\t@Override \t\tpublic void disconnect_sequence_push_consumer() { \t\t\tSystem.out.println(\"Disconnected!\"); \t\t} \t}  \tprivate class notificationThread extends Thread { \t\tpublic void run() { \t\t\t_notificationOrb.run(); \t\t\t} \t}  } <\/code><\/pre>\n<\/div>\n<\/div>\n<p>  \u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435. \u041f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u043a\u0440\u0430\u0442\u043a\u043e, \u043d\u043e, \u043d\u0430 \u043c\u043e\u0439 \u0432\u0437\u0433\u043b\u044f\u0434, \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u044b \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u044b, \u043d\u0430\u0434\u0435\u044e\u0441\u044c \u0434\u0430\u043d\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0439. \u0412\u043e\u043f\u0440\u043e\u0441\u044b \u0438 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0442\u0441\u044f.<\/div>\n<p>        <script class=\"js-mediator-script\">!function(e){function t(t,n){if(!(n in e)){for(var r,a=e.document,i=a.scripts,o=i.length;o--;)if(-1!==i[o].src.indexOf(t)){r=i[o];break}if(!r){r=a.createElement(\"script\"),r.type=\"text\/javascript\",r.async=!0,r.defer=!0,r.src=t,r.charset=\"UTF-8\";var d=function(){var e=a.getElementsByTagName(\"script\")[0];e.parentNode.insertBefore(r,e)};\"[object Opera]\"==e.opera?a.addEventListener?a.addEventListener(\"DOMContentLoaded\",d,!1):e.attachEvent(\"onload\",d):d()}}}t(\"\/\/mediator.mail.ru\/script\/2820404\/\",\"_mediator\")}(window);<\/script>     <br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/post\/423583\/\"> https:\/\/habr.com\/post\/423583\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html js-mediator-article\">\u0417\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439\u0442\u0435. \u0412 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 <a href=\"https:\/\/habr.com\/post\/422293\/\">\u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438<\/a> \u0431\u044b\u043b \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043d \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0445 \u0430\u0432\u0430\u0440\u0438\u0439 \u0447\u0435\u0440\u0435\u0437 AlarmIRP. \u0414\u0430\u043b\u0435\u0435, \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0430\u0432\u0430\u0440\u0438\u0439\u043d\u044b\u0445 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u043f\u043e \u043c\u0435\u0440\u0435 \u0438\u0445 \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f NotificationIRP. \u0412 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c NetAct Nokia.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-289519","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/289519","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=289519"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/289519\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=289519"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=289519"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=289519"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}