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.
-
snmpFrame(mibBrowser)
- The constructor takes the applet as an argument.
-
action(Event, Object)
- Event handler for the close button
-
authenticate(SnmpPDU, String)
-
-
callback(SnmpSession, SnmpPDU, int)
-
-
debugPrint(String)
-
-
handleEvent(Event)
- To handle destroy window - pass all else to parent
-
run()
-
-
setFont(Font, Font)
- A function for setting the fonts for this window
snmpFrame
public snmpFrame(mibBrowser app)
- The constructor takes the applet as an argument.
It sets up the window and calls initSnmp()
setFont
public void setFont(Font fontb,
Font font)
- A function for setting the fonts for this window
action
public boolean action(Event e,
Object arg)
- Event handler for the close button
- Overrides:
- action in class Component
run
public void run()
debugPrint
public void debugPrint(String s)
authenticate
public boolean authenticate(SnmpPDU pdu,
String community)
callback
public boolean callback(SnmpSession session,
SnmpPDU pdu,
int reqid)
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