📄 ri.html
字号:
<br><font face="Courier New,Courier"><font size=-1>
} else {</font></font>
<p><font face="Courier New,Courier"><font size=-1>
((Mtp2SapMBean)oamLookupTableImplClass.get(mtp2Saps[0])).addNotificationListener(this,
this, null);</font></font>
<p><font face="Courier New,Courier"><font size=-1>
}</font></font>
<p><font face="Courier New,Courier"><font size=-1>
}</font></font>
<br>
<p><font face="Courier New,Courier"><font size=-1>
/**</font></font>
<br><font face="Courier New,Courier"><font size=-1>
* This method is called by an Mtp2Sap when it is emitting an Asynchronous</font></font>
<br><font face="Courier New,Courier"><font size=-1>
* alrm or error to check if the listener is interested in the notification</font></font>
<br><font face="Courier New,Courier"><font size=-1>
*/</font></font>
<p><font face="Courier New,Courier"><font size=-1>
public boolean isNotificationEnabled(Notification notification) {</font></font>
<p><font face="Courier New,Courier"><font size=-1>
//GET THE NOTIFICATION TYPE</font></font>
<p><font face="Courier New,Courier"><font size=-1>
String type = notification.getType();</font></font>
<p><font face="Courier New,Courier"><font size=-1>
// RETURN TRUE IF TYPE IS A NOTIFICATION TYPE WE ARE INTERESTED IN</font></font>
<p><font face="Courier New,Courier"><font size=-1>
if(type == "jain.protocol.ss7.oam.mtp2.error.invalid_timer_expired") {</font></font>
<br><font face="Courier New,Courier"><font size=-1>
return true;</font></font>
<br><font face="Courier New,Courier"><font size=-1>
} else if(type == "jain.protocol.ss7.oam.mtp2.alarm.sl_down_physical")
{</font></font>
<br><font face="Courier New,Courier"><font size=-1>
return true;</font></font>
<br><font face="Courier New,Courier"><font size=-1>
} else {</font></font>
<br><font face="Courier New,Courier"><font size=-1>
return false;</font></font>
<br><font face="Courier New,Courier"><font size=-1>
}</font></font>
<br><font face="Courier New,Courier"><font size=-1>
}</font></font>
<br>
<br>
<br>
<br>
<p><font face="Courier New,Courier"><font size=-1>
/**</font></font>
<br><font face="Courier New,Courier"><font size=-1>
* This method is called by an Mtp2Sap when it is emitting an Asynchronous</font></font>
<br><font face="Courier New,Courier"><font size=-1>
* alarm or error</font></font>
<br><font face="Courier New,Courier"><font size=-1>
*/</font></font>
<br><font face="Courier New,Courier"><font size=-1>
public void handleNotification(Notification asynchronousStat) {</font></font>
<p><font face="Courier New,Courier"><font size=-1>
System.out.println("Received an Mtp2 Alarm or Event:\n"</font></font>
<br><font face="Courier New,Courier"><font size=-1>
+ asynchronousStat.toString());</font></font>
<p><font face="Courier New,Courier"><font size=-1>
if(asynchronousStat.getNotificationType() == "jain.protocol.ss7.oam.mtp2.alarm.sl_down_physical")
{</font></font>
<p><font face="Courier New,Courier"><font size=-1>
System.out.println("A signalling link is physically down");</font></font>
<p><font face="Courier New,Courier"><font size=-1>
} else if(asynchronousStat.getNotificationType() == "jain.protocol.ss7.oam.mtp2.error.invalid_timer_expired")
{</font></font>
<p><font face="Courier New,Courier"><font size=-1>
System.out.println("Invalid timer expired");</font></font>
<p><font face="Courier New,Courier"><font size=-1>
}</font></font>
<br><font face="Courier New,Courier"><font size=-1>
}</font></font>
<p><font face="Courier New,Courier"><font size=-1> }</font></font>
<p>
<hr WIDTH="100%">
<br><b><font size=+2>4.0 Limitations </font></b><a NAME="4.0"></a>
<br>
<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 & 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>
<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> JAIN Expert Group</font></td>
</tr>
</table></center>
</blockquote>
<hr SIZE=0 WIDTH="100%">
<br>
<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 + -