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

📄 snmpv2informrequestpdu.html

📁 snmp inquistor Pour la communication avec les agents SNMP on utilise un package Java open source
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a new PDU of the specified type from the supplied BER encoding.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../snmp/SNMPv2InformRequestPDU.html#SNMPv2InformRequestPDU(snmp.SNMPObjectIdentifier, snmp.SNMPTimeTicks)">SNMPv2InformRequestPDU</A></B>(<A HREF="../snmp/SNMPObjectIdentifier.html" title="class in snmp">SNMPObjectIdentifier</A>&nbsp;snmpTrapOID,
                       <A HREF="../snmp/SNMPTimeTicks.html" title="class in snmp">SNMPTimeTicks</A>&nbsp;sysUptime)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a new Inform Request PDU with given trapOID and sysUptime,    and containing an empty SNMP sequence (VarBindList) as additional data.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../snmp/SNMPv2InformRequestPDU.html#SNMPv2InformRequestPDU(snmp.SNMPTimeTicks, snmp.SNMPObjectIdentifier, snmp.SNMPSequence)">SNMPv2InformRequestPDU</A></B>(<A HREF="../snmp/SNMPTimeTicks.html" title="class in snmp">SNMPTimeTicks</A>&nbsp;sysUptime,
                       <A HREF="../snmp/SNMPObjectIdentifier.html" title="class in snmp">SNMPObjectIdentifier</A>&nbsp;snmpTrapOID,
                       <A HREF="../snmp/SNMPSequence.html" title="class in snmp">SNMPSequence</A>&nbsp;varList)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a new Inform Request PDU with given trapOID and sysUptime,    and containing the supplied SNMP sequence as data.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../snmp/SNMPObjectIdentifier.html" title="class in snmp">SNMPObjectIdentifier</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../snmp/SNMPv2InformRequestPDU.html#getSNMPTrapOID()">getSNMPTrapOID</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A utility method that extracts the snmpTrapOID from the variable bind list (it's the second of the     variable pairs).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../snmp/SNMPTimeTicks.html" title="class in snmp">SNMPTimeTicks</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../snmp/SNMPv2InformRequestPDU.html#getSysUptime()">getSysUptime</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A utility method that extracts the sysUptime from the variable bind list (it's the first of the     variable pairs).</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_snmp.SNMPPDU"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class snmp.<A HREF="../snmp/SNMPPDU.html" title="class in snmp">SNMPPDU</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../snmp/SNMPPDU.html#getErrorIndex()">getErrorIndex</A>, <A HREF="../snmp/SNMPPDU.html#getErrorStatus()">getErrorStatus</A>, <A HREF="../snmp/SNMPPDU.html#getPDUType()">getPDUType</A>, <A HREF="../snmp/SNMPPDU.html#getRequestID()">getRequestID</A>, <A HREF="../snmp/SNMPPDU.html#getVarBindList()">getVarBindList</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_snmp.SNMPSequence"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class snmp.<A HREF="../snmp/SNMPSequence.html" title="class in snmp">SNMPSequence</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../snmp/SNMPSequence.html#addSNMPObject(snmp.SNMPObject)">addSNMPObject</A>, <A HREF="../snmp/SNMPSequence.html#extractFromBEREncoding(byte[])">extractFromBEREncoding</A>, <A HREF="../snmp/SNMPSequence.html#getBEREncoding()">getBEREncoding</A>, <A HREF="../snmp/SNMPSequence.html#getSNMPObjectAt(int)">getSNMPObjectAt</A>, <A HREF="../snmp/SNMPSequence.html#getValue()">getValue</A>, <A HREF="../snmp/SNMPSequence.html#insertSNMPObjectAt(snmp.SNMPObject, int)">insertSNMPObjectAt</A>, <A HREF="../snmp/SNMPSequence.html#setValue(java.lang.Object)">setValue</A>, <A HREF="../snmp/SNMPSequence.html#size()">size</A>, <A HREF="../snmp/SNMPSequence.html#toString()">toString</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_snmp.SNMPObject"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class snmp.<A HREF="../snmp/SNMPObject.html" title="class in snmp">SNMPObject</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../snmp/SNMPObject.html#equals(java.lang.Object)">equals</A>, <A HREF="../snmp/SNMPObject.html#hashCode()">hashCode</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="SNMPv2InformRequestPDU(snmp.SNMPTimeTicks, snmp.SNMPObjectIdentifier, snmp.SNMPSequence)"><!-- --></A><H3>
SNMPv2InformRequestPDU</H3>
<PRE>
public <B>SNMPv2InformRequestPDU</B>(<A HREF="../snmp/SNMPTimeTicks.html" title="class in snmp">SNMPTimeTicks</A>&nbsp;sysUptime,
                              <A HREF="../snmp/SNMPObjectIdentifier.html" title="class in snmp">SNMPObjectIdentifier</A>&nbsp;snmpTrapOID,
                              <A HREF="../snmp/SNMPSequence.html" title="class in snmp">SNMPSequence</A>&nbsp;varList)
                       throws <A HREF="../snmp/SNMPBadValueException.html" title="class in snmp">SNMPBadValueException</A></PRE>
<DL>
<DD>Create a new Inform Request PDU with given trapOID and sysUptime,    and containing the supplied SNMP sequence as data.
<P>
<DL>

<DT><B>Throws:</B>
<DD><CODE><A HREF="../snmp/SNMPBadValueException.html" title="class in snmp">SNMPBadValueException</A></CODE></DL>
</DL>
<HR>

<A NAME="SNMPv2InformRequestPDU(snmp.SNMPObjectIdentifier, snmp.SNMPTimeTicks)"><!-- --></A><H3>
SNMPv2InformRequestPDU</H3>
<PRE>
public <B>SNMPv2InformRequestPDU</B>(<A HREF="../snmp/SNMPObjectIdentifier.html" title="class in snmp">SNMPObjectIdentifier</A>&nbsp;snmpTrapOID,
                              <A HREF="../snmp/SNMPTimeTicks.html" title="class in snmp">SNMPTimeTicks</A>&nbsp;sysUptime)
                       throws <A HREF="../snmp/SNMPBadValueException.html" title="class in snmp">SNMPBadValueException</A></PRE>
<DL>
<DD>Create a new Inform Request PDU with given trapOID and sysUptime,    and containing an empty SNMP sequence (VarBindList) as additional data.
<P>
<DL>

<DT><B>Throws:</B>
<DD><CODE><A HREF="../snmp/SNMPBadValueException.html" title="class in snmp">SNMPBadValueException</A></CODE></DL>
</DL>
<HR>

<A NAME="SNMPv2InformRequestPDU(byte[])"><!-- --></A><H3>
SNMPv2InformRequestPDU</H3>
<PRE>
protected <B>SNMPv2InformRequestPDU</B>(byte[]&nbsp;enc)
                          throws <A HREF="../snmp/SNMPBadValueException.html" title="class in snmp">SNMPBadValueException</A></PRE>
<DL>
<DD>Create a new PDU of the specified type from the supplied BER encoding.
<P>
<DL>

<DT><B>Throws:</B>
<DD><CODE><A HREF="../snmp/SNMPBadValueException.html" title="class in snmp">SNMPBadValueException</A></CODE> - Indicates invalid SNMP PDU encoding supplied in enc.</DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="getSNMPTrapOID()"><!-- --></A><H3>
getSNMPTrapOID</H3>
<PRE>
public <A HREF="../snmp/SNMPObjectIdentifier.html" title="class in snmp">SNMPObjectIdentifier</A> <B>getSNMPTrapOID</B>()</PRE>
<DL>
<DD>A utility method that extracts the snmpTrapOID from the variable bind list (it's the second of the     variable pairs).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getSysUptime()"><!-- --></A><H3>
getSysUptime</H3>
<PRE>
public <A HREF="../snmp/SNMPTimeTicks.html" title="class in snmp">SNMPTimeTicks</A> <B>getSysUptime</B>()</PRE>
<DL>
<DD>A utility method that extracts the sysUptime from the variable bind list (it's the first of the     variable pairs).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/SNMPv2InformRequestPDU.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../snmp/SNMPv2InformRequestListener.html" title="interface in snmp"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../snmp/SNMPv2TrapListener.html" title="interface in snmp"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../index.html?snmp/SNMPv2InformRequestPDU.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="SNMPv2InformRequestPDU.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_snmp.SNMPSequence">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>

⌨️ 快捷键说明

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