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
-
finalize()
- Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
-
getMibStore()
-
-
getSnmpTrapAgent()
- Get the SnmpTrapAgent (an Snmp Trap Handler) associated with this SnmpMain
-
initializeSNMP()
-
-
initializeSNMP(MibStoreIfSrv)
-
-
setSnmpTrapAgent(SnmpTrapAgent)
- Set the SnmpTrapAgent (an Snmp Trap Handler) associated with this SnmpMain
initializeSNMP
public static synchronized void initializeSNMP(MibStoreIfSrv mib) throws SnmpStatusException
- Throws: SnmpStatusException
- An error occurred while accessing a MIB node.
initializeSNMP
public static synchronized void initializeSNMP() throws SnmpStatusException
- Throws: SnmpStatusException
- An error occurred while accessing a MIB node.
getMibStore
public static MibStoreIfSrv getMibStore()
getSnmpTrapAgent
public static SnmpTrapAgent getSnmpTrapAgent()
- Get the SnmpTrapAgent (an Snmp Trap Handler) associated with this SnmpMain
setSnmpTrapAgent
public static void setSnmpTrapAgent(SnmpTrapAgent trapAgent)
- Set the SnmpTrapAgent (an Snmp Trap Handler) associated with this SnmpMain
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