⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ri.html

📁 关于ivr的jain,开发包,很好用的
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<br><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
} else {</font></font>
<p><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
((Mtp2SapMBean)oamLookupTableImplClass.get(mtp2Saps[0])).addNotificationListener(this,
this, null);</font></font>
<p><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
}</font></font>
<p><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
}</font></font>
<br>&nbsp;
<p><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
/**</font></font>
<br><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
* This method is called by an Mtp2Sap when it is emitting an Asynchronous</font></font>
<br><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
* alrm or error to check if the listener is interested in the notification</font></font>
<br><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
*/</font></font>
<p><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
public boolean isNotificationEnabled(Notification notification) {</font></font>
<p><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
//GET THE NOTIFICATION TYPE</font></font>
<p><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
String type = notification.getType();</font></font>
<p><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
// RETURN TRUE IF TYPE IS A NOTIFICATION TYPE WE ARE INTERESTED IN</font></font>
<p><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
if(type == "jain.protocol.ss7.oam.mtp2.error.invalid_timer_expired") {</font></font>
<br><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
return true;</font></font>
<br><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
} else if(type == "jain.protocol.ss7.oam.mtp2.alarm.sl_down_physical")
{</font></font>
<br><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
return true;</font></font>
<br><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
} else {</font></font>
<br><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
return false;</font></font>
<br><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
}</font></font>
<br><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
}</font></font>
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<p><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
/**</font></font>
<br><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
* This method is called by an Mtp2Sap when it is emitting an Asynchronous</font></font>
<br><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
* alarm or error</font></font>
<br><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
*/</font></font>
<br><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
public void handleNotification(Notification asynchronousStat) {</font></font>
<p><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
System.out.println("Received an Mtp2 Alarm or Event:\n"</font></font>
<br><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+ asynchronousStat.toString());</font></font>
<p><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
if(asynchronousStat.getNotificationType() == "jain.protocol.ss7.oam.mtp2.alarm.sl_down_physical")
{</font></font>
<p><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
System.out.println("A signalling link is physically down");</font></font>
<p><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
} else if(asynchronousStat.getNotificationType() == "jain.protocol.ss7.oam.mtp2.error.invalid_timer_expired")
{</font></font>
<p><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
System.out.println("Invalid timer expired");</font></font>
<p><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
}</font></font>
<br><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
}</font></font>
<p><font face="Courier New,Courier"><font size=-1>&nbsp;&nbsp;&nbsp; }</font></font>
<p>
<hr WIDTH="100%">
<br><b><font size=+2>4.0 Limitations&nbsp;</font></b><a NAME="4.0"></a>
<br>&nbsp;
<ul>
<li>
The RI is unable to emit all possible alarms - alarms which are network
dependent cannot be generated by the RI.</li>

<li>
The RI is unable to emit all possible errors - errors which are network
dependent cannot be generated by the RI.</li>

<li>
The statistics emitted by the RI are static i.e. the same statistic value
will be returned at all times.</li>
</ul>

<p><br>
<hr WIDTH="100%"><b><font size=+2>5.0 Abbreviations</font></b><a NAME="5.0"></a>
<p><b><font face="Arial">Abbreviations</font></b>
<center><table BORDER=4 CELLSPACING=0 CELLPADDING=5 WIDTH="416" BGCOLOR="#FFCC99" >
<tr>
<td VALIGN=TOP WIDTH="20%" BGCOLOR="#FFCCCC"><font size=-1>API</font></td>

<td VALIGN=TOP WIDTH="80%"><font size=-1>Application Programming Interface</font></td>
</tr>

<tr>
<td VALIGN=TOP WIDTH="20%" BGCOLOR="#FFCCCC"><font size=-1>TCK</font></td>

<td VALIGN=TOP WIDTH="80%"><font size=-1>Technology Compatibility Kit</font></td>
</tr>

<tr>
<td VALIGN=TOP WIDTH="20%" HEIGHT="19" BGCOLOR="#FFCCCC"><font size=-1>JAIN</font></td>

<td VALIGN=TOP WIDTH="80%" HEIGHT="19"><font size=-1>Java APIs for Integrated
Network Framework</font></td>
</tr>

<tr>
<td BGCOLOR="#FFCCCC"><font size=-1>JDK</font></td>

<td><font size=-1>Java Development Tool kit</font></td>
</tr>

<tr>
<td VALIGN=TOP WIDTH="20%" BGCOLOR="#FFCCCC"><font size=-1>TCAP</font></td>

<td VALIGN=TOP WIDTH="80%"><font size=-1>Transaction Capabilities Application
Part</font></td>
</tr>

<tr>
<td BGCOLOR="#FFCCCC"><font size=-1>OAM</font></td>

<td><font size=-1>Operations Administration &amp; Maintenance</font></td>
</tr>

<tr>
<td VALIGN=TOP WIDTH="20%" HEIGHT="21" BGCOLOR="#FFCCCC"><font size=-1>RI</font></td>

<td VALIGN=TOP WIDTH="80%" HEIGHT="21"><font size=-1>Reference Implementation</font></td>
</tr>
</table></center>

<p>
<hr width="100%">
<br><a NAME="6.0"></a><b><font size=+2>6.0 Control</font></b>
<blockquote>&nbsp;
<center><table BORDER=4 CELLSPACING=0 CELLPADDING=5 WIDTH="57%" >
<tr>
<td BGCOLOR="#FFCCCC"><font size=-1>Document ID:</font></td>

<td BGCOLOR="#FFCC99"><font size=-1>RI-JAINOAM-001</font></td>
</tr>

<tr>
<td BGCOLOR="#FFCCCC"><font size=-1>Version:</font></td>

<td BGCOLOR="#FFCC99"><font size=-1>1.2</font></td>
</tr>

<tr>
<td BGCOLOR="#FFCCCC"><font size=-1>Location:</font></td>

<td BGCOLOR="#FFCC99"><font size=-1>Supra::/export/home/jain/OAM/Documents/RI_Spec.html</font></td>
</tr>

<tr>
<td BGCOLOR="#FFCCCC"><font size=-1>Originator</font></td>

<td BGCOLOR="#FFCC99"><font size=-1>Chris Harris</font></td>
</tr>

<tr>
<td BGCOLOR="#FFCCCC"><font size=-1>Approval Date:</font></td>

<td BGCOLOR="#FFCC99"><font size=-1>5th July 2000</font></td>
</tr>

<tr>
<td BGCOLOR="#FFCCCC"><font size=-1>Status:</font></td>

<td BGCOLOR="#FFCC99"><font size=-1>Draft</font></td>
</tr>

<tr>
<td BGCOLOR="#FFCCCC"><font size=-1>Approver:</font></td>

<td BGCOLOR="#FFCC99"><font size=-1>&nbsp;JAIN Expert Group</font></td>
</tr>
</table></center>
</blockquote>

<hr SIZE=0 WIDTH="100%">
<br>&nbsp;
<center>
<address>
If you have any comments or queries, please mail them to <a href="mailto:JainOam@sun.com">JainOam@Sun.com</a></address></center>

</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -