All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class examples.snmp.manager.SimpleManager

java.lang.Object
   |
   +----examples.snmp.manager.SimpleManager

public class SimpleManager
extends Object
The class is a simple example showing how to use the SNMP Manager API.

When calling the program, you must specify:

  1. host: hostname of the SNMP agent you want to query.
  2. port: port number to use.

As a reminder, if you wish to query the SNMP agent example provided as part of JDMK, use port 8085.

In order to get traces from the SNMP Manager API, invoke the program as follows: java -DDEBUG examples.snmp.manager.SimpleManager sky 8085


Constructor Index

 o SimpleManager()

Method Index

 o main(String[])
Main entry point.
 o usage()
Return usage of the program.

Constructors

 o SimpleManager
 public SimpleManager()

Methods

 o main
 public static void main(String argv[])
Main entry point. When calling the program, you must specify:
  1. host: hostname of the SNMP agent you want to query.
  2. port: port number to use.

As a reminder, if you wish to query the SNMP agent example provided as part of JDMK, use port 8085.

In order to get traces from the SNMP Manager API, invoke the program as follows: java -DDEBUG examples.snmp.manager.SimpleManager sky 8085

 o usage
 public static void usage()
Return usage of the program.


All Packages  Class Hierarchy  This Package  Previous  Next  Index