All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----examples.snmp.agent.Agent
Agent class provides a simple example on how to
use the
SNMP adaptor.
A subset of MIB II (RFC1213) is implemented. The MIB is loaded and
initialized. As such you can now see the MIB using your favorite SNMP
manager, or you can use a web browser and see the MIB through the
HTML adaptor.
In this example, the SNMP adaptor is started on port 8085, i.e a non standard port for SNMP.
main method does not allow you to specify command-line
parameters.
public Agent()
public static void main(String args[])
main method does not allow you to specify command-line
parameters. However, it does allow you to specify the trace level
by using the DEBUG properties.
For more information on trace levels, refer to
Debug object.
public static AdaptorServerImpl getSnmpAdaptor()
All Packages Class Hierarchy This Package Previous Next Index