All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class advent.mibBrowser.snmpFrame

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----advent.mibBrowser.snmpFrame

public class snmpFrame
extends Frame
implements SnmpClient, Runnable
snmpFrame - This is where most of the SNMP operations are done. Provides a Frame for debug output - which is generated only when Help is chosen.


Constructor Index

 o snmpFrame(mibBrowser)
The constructor takes the applet as an argument.

Method Index

 o action(Event, Object)
Event handler for the close button
 o authenticate(SnmpPDU, String)
 o callback(SnmpSession, SnmpPDU, int)
 o debugPrint(String)
 o handleEvent(Event)
To handle destroy window - pass all else to parent
 o run()
 o setFont(Font, Font)
A function for setting the fonts for this window

Constructors

 o snmpFrame
 public snmpFrame(mibBrowser app)
The constructor takes the applet as an argument. It sets up the window and calls initSnmp()

Methods

 o setFont
 public void setFont(Font fontb,
                     Font font)
A function for setting the fonts for this window

 o action
 public boolean action(Event e,
                       Object arg)
Event handler for the close button

Overrides:
action in class Component
 o run
 public void run()
 o debugPrint
 public void debugPrint(String s)
 o authenticate
 public boolean authenticate(SnmpPDU pdu,
                             String community)
 o callback
 public boolean callback(SnmpSession session,
                         SnmpPDU pdu,
                         int reqid)
 o handleEvent
 public boolean handleEvent(Event e)
To handle destroy window - pass all else to parent

Overrides:
handleEvent in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index