📄 snmpquerier.html
字号:
<DT><B>Parameters:</B><DD><CODE>none.</CODE> -
<DT><B>Returns:</B><DD>int security attribute.</DL>
</DD>
</DL>
<HR>
<A NAME="getRetries()"><!-- --></A><H3>
getRetries</H3>
<PRE>
public int <B>getRetries</B>()</PRE>
<DL>
<DD>Returns the retries attribute.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>none.</CODE> -
<DT><B>Returns:</B><DD>int retries attribute.</DL>
</DD>
</DL>
<HR>
<A NAME="getTimeout()"><!-- --></A><H3>
getTimeout</H3>
<PRE>
public int <B>getTimeout</B>()</PRE>
<DL>
<DD>Returns the timeout attribute.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>none.</CODE> -
<DT><B>Returns:</B><DD>int timeout attribute.</DL>
</DD>
</DL>
<HR>
<A NAME="getPort()"><!-- --></A><H3>
getPort</H3>
<PRE>
public int <B>getPort</B>()</PRE>
<DL>
<DD>Returns the agent UDP port attribute.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>none.</CODE> -
<DT><B>Returns:</B><DD>int agent UDP port.</DL>
</DD>
</DL>
<HR>
<A NAME="getCommunity()"><!-- --></A><H3>
getCommunity</H3>
<PRE>
public java.lang.String <B>getCommunity</B>()</PRE>
<DL>
<DD>Returns the community string.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>none.</CODE> -
<DT><B>Returns:</B><DD>String community string.</DL>
</DD>
</DL>
<HR>
<A NAME="getUsername()"><!-- --></A><H3>
getUsername</H3>
<PRE>
public java.lang.String <B>getUsername</B>()</PRE>
<DL>
<DD>Returns the username attribute.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>none.</CODE> -
<DT><B>Returns:</B><DD>String username attribute.</DL>
</DD>
</DL>
<HR>
<A NAME="getPasswordAuth()"><!-- --></A><H3>
getPasswordAuth</H3>
<PRE>
public java.lang.String <B>getPasswordAuth</B>()</PRE>
<DL>
<DD>Returns the password authentication attribute.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>none.</CODE> -
<DT><B>Returns:</B><DD>String password authentication attribute.</DL>
</DD>
</DL>
<HR>
<A NAME="getPasswordPriv()"><!-- --></A><H3>
getPasswordPriv</H3>
<PRE>
public java.lang.String <B>getPasswordPriv</B>()</PRE>
<DL>
<DD>Returns the password privacy attribute.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>none.</CODE> -
<DT><B>Returns:</B><DD>String password privacy attribute.</DL>
</DD>
</DL>
<HR>
<A NAME="getPDUMaxSize()"><!-- --></A><H3>
getPDUMaxSize</H3>
<PRE>
public int <B>getPDUMaxSize</B>()</PRE>
<DL>
<DD>Returns the PDU maximum size attribute.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>none.</CODE> -
<DT><B>Returns:</B><DD>int PDU maximum size attribute.</DL>
</DD>
</DL>
<HR>
<A NAME="setVersion(int)"><!-- --></A><H3>
setVersion</H3>
<PRE>
public void <B>setVersion</B>(int version)</PRE>
<DL>
<DD>Sets the version attribute.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>version</CODE> - version.</DL>
</DD>
</DL>
<HR>
<A NAME="setSec(int)"><!-- --></A><H3>
setSec</H3>
<PRE>
public void <B>setSec</B>(int sec)</PRE>
<DL>
<DD>Sets the security attribute.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>sec</CODE> - security attribute.</DL>
</DD>
</DL>
<HR>
<A NAME="setRetries(int)"><!-- --></A><H3>
setRetries</H3>
<PRE>
public void <B>setRetries</B>(int retries)</PRE>
<DL>
<DD>Sets the retries attribute.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>retries</CODE> - retries attribute.</DL>
</DD>
</DL>
<HR>
<A NAME="setTimeout(int)"><!-- --></A><H3>
setTimeout</H3>
<PRE>
public void <B>setTimeout</B>(int timeout)</PRE>
<DL>
<DD>Sets the timeout attribute.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>timeout</CODE> - timeout attribute.</DL>
</DD>
</DL>
<HR>
<A NAME="setPort(int)"><!-- --></A><H3>
setPort</H3>
<PRE>
public void <B>setPort</B>(int port)</PRE>
<DL>
<DD>Sets the agent UDP port attribute.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>port</CODE> - agent UDP port attribute.</DL>
</DD>
</DL>
<HR>
<A NAME="setCommunity(java.lang.String)"><!-- --></A><H3>
setCommunity</H3>
<PRE>
public void <B>setCommunity</B>(java.lang.String community)</PRE>
<DL>
<DD>Sets the community string attribute.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>community</CODE> - community string attribute.</DL>
</DD>
</DL>
<HR>
<A NAME="setUsername(java.lang.String)"><!-- --></A><H3>
setUsername</H3>
<PRE>
public void <B>setUsername</B>(java.lang.String username)</PRE>
<DL>
<DD>Sets the username attribute.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>username</CODE> - username attribute.</DL>
</DD>
</DL>
<HR>
<A NAME="setPasswordAuth(java.lang.String)"><!-- --></A><H3>
setPasswordAuth</H3>
<PRE>
public void <B>setPasswordAuth</B>(java.lang.String password_auth)</PRE>
<DL>
<DD>Sets the password authentication attribute.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>password_auth</CODE> - password authentication attribute.</DL>
</DD>
</DL>
<HR>
<A NAME="setPasswordPriv(java.lang.String)"><!-- --></A><H3>
setPasswordPriv</H3>
<PRE>
public void <B>setPasswordPriv</B>(java.lang.String password_priv)</PRE>
<DL>
<DD>Sets the password privacy attribute.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>password_priv</CODE> - password_privacy attribute.</DL>
</DD>
</DL>
<HR>
<A NAME="setPDUMaxSize(int)"><!-- --></A><H3>
setPDUMaxSize</H3>
<PRE>
public void <B>setPDUMaxSize</B>(int pdu_max_size)</PRE>
<DL>
<DD>Sets the PDU maximum size attribute.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pdu_max_size</CODE> - PDU maximum size attribute.</DL>
</DD>
</DL>
<HR>
<A NAME="getSNMP()"><!-- --></A><H3>
getSNMP</H3>
<PRE>
private Snmp <B>getSNMP</B>()</PRE>
<DL>
<DD>Returns the SNMP4J Snmp instance used to perform further SNMP queries.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>none.</CODE> -
<DT><B>Returns:</B><DD>Snmp Snmp instance.</DL>
</DD>
</DL>
<HR>
<A NAME="getPDU()"><!-- --></A><H3>
getPDU</H3>
<PRE>
private PDU <B>getPDU</B>()</PRE>
<DL>
<DD>Creates a new empty PDU.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>none.</CODE> -
<DT><B>Returns:</B><DD>PDU new PDU.</DL>
</DD>
</DL>
<HR>
<A NAME="getSysDescr()"><!-- --></A><H3>
getSysDescr</H3>
<PRE>
public java.lang.String <B>getSysDescr</B>()</PRE>
<DL>
<DD>Gets the system description OID content synchronously.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>none.</CODE> -
<DT><B>Returns:</B><DD>String system description.</DL>
</DD>
</DL>
<HR>
<A NAME="getSysDescr(net.fenyo.gnetwatch.SNMPQuerier.QuerierListener)"><!-- --></A><H3>
getSysDescr</H3>
<PRE>
public void <B>getSysDescr</B>(<A HREF="../../../net/fenyo/gnetwatch/SNMPQuerier.QuerierListener.html" title="interface in net.fenyo.gnetwatch">SNMPQuerier.QuerierListener</A> listener)</PRE>
<DL>
<DD>Gets the system description OID content asynchronously.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>listener</CODE> - listener instance that will be called asynchronously.</DL>
</DD>
</DL>
<HR>
<A NAME="getInterfaces()"><!-- --></A><H3>
getInterfaces</H3>
<PRE>
public java.util.List<TableEvent> <B>getInterfaces</B>()</PRE>
<DL>
<DD>Gets some columns of the interface list table synchronously.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>none.</CODE> -
<DT><B>Returns:</B><DD>java.util.List<TableEvent> list of rows.</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> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../net/fenyo/gnetwatch/SNMPManager.html" title="class in net.fenyo.gnetwatch"><B>PREV CLASS</B></A>
<A HREF="../../../net/fenyo/gnetwatch/SNMPQuerier.QuerierListener.html" title="interface in net.fenyo.gnetwatch"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html?net/fenyo/gnetwatch/SNMPQuerier.html" target="_top"><B>FRAMES</B></A>
<A HREF="SNMPQuerier.html" target="_top"><B>NO FRAMES</B></A>
<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: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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 + -