All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class examples.snmp.agent.Agent

java.lang.Object
   |
   +----examples.snmp.agent.Agent

public class Agent
extends Object
The 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.


Constructor Index

 o Agent()

Method Index

 o getSnmpAdaptor()
 o main(String[])
The main method does not allow you to specify command-line parameters.

Constructors

 o Agent
 public Agent()

Methods

 o main
 public static void main(String args[])
The 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.

 o getSnmpAdaptor
 public static AdaptorServerImpl getSnmpAdaptor()

All Packages  Class Hierarchy  This Package  Previous  Next  Index