All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sun.jaw.snmp.manager.SnmpMain

java.lang.Object
   |
   +----com.sun.jaw.snmp.manager.SnmpMain

public class SnmpMain
extends Object
This class creates a socket and then starts all servers required to do SNMP operation.

This class assumes only one SnmpMain per Java Virtual Machine


Method Index

 o finalize()
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
 o getMibStore()
 o getSnmpTrapAgent()
Get the SnmpTrapAgent (an Snmp Trap Handler) associated with this SnmpMain
 o initializeSNMP()
 o initializeSNMP(MibStoreIfSrv)
 o setSnmpTrapAgent(SnmpTrapAgent)
Set the SnmpTrapAgent (an Snmp Trap Handler) associated with this SnmpMain

Methods

 o initializeSNMP
 public static synchronized void initializeSNMP(MibStoreIfSrv mib) throws SnmpStatusException
Throws: SnmpStatusException
An error occurred while accessing a MIB node.
 o initializeSNMP
 public static synchronized void initializeSNMP() throws SnmpStatusException
Throws: SnmpStatusException
An error occurred while accessing a MIB node.
 o getMibStore
 public static MibStoreIfSrv getMibStore()
 o getSnmpTrapAgent
 public static SnmpTrapAgent getSnmpTrapAgent()
Get the SnmpTrapAgent (an Snmp Trap Handler) associated with this SnmpMain

 o setSnmpTrapAgent
 public static void setSnmpTrapAgent(SnmpTrapAgent trapAgent)
Set the SnmpTrapAgent (an Snmp Trap Handler) associated with this SnmpMain

 o finalize
 public synchronized void finalize()
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

Overrides:
finalize in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index