All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class examples.snmp.manager.AsyncManager

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

public class AsyncManager
extends Object
The class shows how to:

See Also:
SnmpHandlerIf, AsyncRspHandler

Constructor Index

 o AsyncManager()

Method Index

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

Constructors

 o AsyncManager
 public AsyncManager()

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.AsyncManager sky 8085

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


All Packages  Class Hierarchy  This Package  Previous  Next  Index