📄 snmp.refentries.toc71.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><link rel="STYLESHEET" type="text/css" href="wrs.css"><title><i class="i">snmpMasterCleanup</i>( ) SNMP Reference </title></head><body bgcolor="FFFFFF"><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a></a><a href="snmp.refEntries.TOC.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="snmp.refEntries.TOC70.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="snmp.refEntries.TOC72.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p><font face="Helvetica, sans-serif" class="sans"><h2 class="H1"><i><a name="89492"> <i class="i">snmpMasterCleanup</i>( ) </a></i></h2></font><h4 class="SH"><a name="89493"> </a>NAME </h4><dl class="margin"><dl class="margin"><dd><a name="89494"><div class="aX"><b class="routine"><i class="routine">snmpMasterCleanup</i></b><b>( )</b> - free up resources after a query times out </div></a></dl></dl><h4 class="SH"><a name="89495"> </a>SYNOPSIS </h4><dl class="margin"><dl class="margin"><dd><pre class="Code"><b><a name="89496">void snmpMasterCleanup ( UINT_16_T reqid, /* request Id to track state block */ UINT_16_T options /* as mentioned above */ )</a></b></pre></dl></dl><h4 class="SH"><a name="89501"> </a>DESCRIPTION </h4><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="89502"> </a>If you use <b class="routine"><i class="routine">snmpMasterHandlerAsync</i></b><b>( )</b>, the master agent calls this routine if the IPC layer determines that a timeout period for a query response has been exceeded. The <i class="i">reqid</i> parameter is the same as the <i class="i">requestId</i> value passed to the send routine. It is used to track the correct state block. The <i class="i">options</i> parameter passes in a set of flags that control what actions the cleanup routine. Currently, there are three flags: <b>SA_CLEANUP_INACTIVE</b>, <b>SA_CLEANUP_TIMEOUT</b>, and <b>SA_CLEANUP_CONTINUE</b>. The continue and timeout flags should always be set. The inactive flag indicates that any objects associated with the subagent should be removed. Set this flag when the IPC layer determines that the subagent has stopped rather than timed out. </p></dl></dl><h4 class="SH"><a name="89503"> </a>RETURNS </h4><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="89504"> </a>N/A </p></dl></dl><h4 class="SH"><a name="89505"> </a>SEE ALSO </h4><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="89506"> </a><b class="library">subagentLib</b></p></dl></dl><a name="foot"><hr></a><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a></a><a href="snmp.refEntries.TOC.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="snmp.refEntries.TOC70.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="snmp.refEntries.TOC72.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p></body></html><!---by WRS Documentation (), Wind River Systems, Inc. conversion tool: Quadralay WebWorks Publisher 4.0.11 template: CSS Template, Jan 1998 - Jefro --->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -