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

📄 defaultoid.html

📁 snmp based application it is used to get the info of snmp
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</TR></TABLE><A NAME="oids"><!-- --></A><H3>oids</H3><PRE>protected final int[] <B>oids</B></PRE><DL><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="DefaultOID(java.lang.String)"><!-- --></A><H3>DefaultOID</H3><PRE>public <B>DefaultOID</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;descriptor)           throws <A HREF="../../org/netsnmp/MIBItemNotFound.html">MIBItemNotFound</A></PRE><DL><DD>Creates a new instance of OID  Creates an OID from a text descriptor.  The identifier is a '.' separated list of mib leaves.  The identifier  may also consist of the integer equivalents for any given leaf.  <pre>  Example:             oid = new OID("iso.org.dod.internet.mgmt.mib-2.system.sysDescr.0") ;   or             oid = new OID("1.3.6.1.2.1.1.1.0") ; </pre><P><DT><B>Throws:</B><DD><CODE><A HREF="../../org/netsnmp/MIBItemNotFound.html">MIBItemNotFound</A></CODE> - if the Item was not found in the currently loaded mibs.  NOTE:   Finding an item within the locally installed MIBs does not guarantee that it will be found on a remote agent.</DL><HR><A NAME="DefaultOID()"><!-- --></A><H3>DefaultOID</H3><PRE>public <B>DefaultOID</B>()</PRE><DL><DD>Creates an Empty OID<P></DL><HR><A NAME="DefaultOID(org.netsnmp.OID)"><!-- --></A><H3>DefaultOID</H3><PRE>public <B>DefaultOID</B>(<A HREF="../../org/netsnmp/OID.html">OID</A>&nbsp;srcOid)</PRE><DL><DD>Creates a new DefaultOID from an existing one<P><DT><B>Parameters:</B><DD><CODE>srcOid</CODE> - </DL><HR><A NAME="DefaultOID(java.lang.String, int)"><!-- --></A><H3>DefaultOID</H3><PRE>public <B>DefaultOID</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;descriptor,                  int&nbsp;instance)           throws <A HREF="../../org/netsnmp/MIBItemNotFound.html">MIBItemNotFound</A></PRE><DL><DD>Creates a new oid from a text descriptor and a integer instance. Useful for creating instances of separate entries in tables:  Example: <pre>  String ifSpeedDescr = "iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifSpeed" ;  OID ifSpeeds[2] = new OID[2] ;  ifSpeeds[0] = new OID(ifSpeedDescr, 1) ;  ifSpeeds[1] = new OID(ifSpeedDescr, 2) ;  </pre><P><DT><B>Parameters:</B><DD><CODE>descriptor</CODE> - OID of Object<DD><CODE>instance</CODE> - specific instance</DL><HR><A NAME="DefaultOID(org.netsnmp.OID, int)"><!-- --></A><H3>DefaultOID</H3><PRE>public <B>DefaultOID</B>(<A HREF="../../org/netsnmp/OID.html">OID</A>&nbsp;oid,                  int&nbsp;inst)</PRE><DL><DD>Creates an OID from another OID and a specific instance<P><DT><B>Parameters:</B><DD><CODE>oid</CODE> - Object Identifier<DD><CODE>inst</CODE> - Specific instance</DL><HR><A NAME="DefaultOID(int[])"><!-- --></A><H3>DefaultOID</H3><PRE>public <B>DefaultOID</B>(int[]&nbsp;descriptor)</PRE><DL><DD>Creates and OID from an array of integer identifiers <pre> Example: int sysDescrInts[] = { 1,3,6,1,2,1,1,1,0 } ; OID oid = new OID(sysDescrInts) ;  equivalent to:  oid = new OID("iso.org.dod.internet.mgmt.mib-2.system.sysDescr.0") ;  </pre><P></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="oids()"><!-- --></A><H3>oids</H3><PRE>public int[] <B>oids</B>()</PRE><DL><DD>Get the path elements of the OID<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../org/netsnmp/OID.html#oids()">oids</A></CODE> in interface <CODE><A HREF="../../org/netsnmp/OID.html">OID</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the individual elements of the OID as an array of integers</DL></DD></DL><HR><A NAME="length()"><!-- --></A><H3>length</H3><PRE>public int <B>length</B>()</PRE><DL><DD>length of the OID<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../org/netsnmp/OID.html#length()">length</A></CODE> in interface <CODE><A HREF="../../org/netsnmp/OID.html">OID</A></CODE></DL></DD><DD><DL></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <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/DefaultOID.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-all.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><a href="http://sourceforge.net"> <img src="http://sourceforge.net/sflogo.php?group_id=73136&amp;type=5" width="210" height="62" border="0" alt="SourceForge.net Logo"></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../org/netsnmp/ASN_TYPE.asn_unsigned.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../org/netsnmp/InstanceOID.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="DefaultOID.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT>  <!--  if(window==top) {    document.writeln('<A HREF="../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT><A HREF="../../allclasses-noframe.html" TARGET=""><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="#field_summary">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;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>

⌨️ 快捷键说明

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