org.friendlysnmp.plugin.core
Class CoreDeadlockHandler

java.lang.Object
  extended by org.friendlysnmp.FHandler
      extended by org.friendlysnmp.plugin.core.CoreDeadlockHandler

public class CoreDeadlockHandler
extends FHandler

The class provides application information to SNMP objects declared in FRIENDLY-SNMP-MIB.

Version:
$Revision: 1.18 $

Nested Class Summary
 
Nested classes/interfaces inherited from class org.friendlysnmp.FHandler
FHandler.AgentStartType
 
Field Summary
 
Fields inherited from class org.friendlysnmp.FHandler
agent, mibBase
 
Constructor Summary
CoreDeadlockHandler()
          Constructor
 
Method Summary
 void registerMib(BaseMib mibBase)
           
 void shutdown()
          The method is called by SNMP agent when it's shutdown.
 void start(FHandler.AgentStartType startType)
          The method is called by SNMP agent when it's started or restarted.
 void stop()
          The method is called by SNMP agent when it's stopped.
 
Methods inherited from class org.friendlysnmp.FHandler
getTimestampNow, init, isIntegerEqual, setAgent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoreDeadlockHandler

public CoreDeadlockHandler()
Constructor

Method Detail

registerMib

public void registerMib(BaseMib mibBase)
                 throws FException
Overrides:
registerMib in class FHandler
Throws:
FException

start

public void start(FHandler.AgentStartType startType)
The method is called by SNMP agent when it's started or restarted. Default implementation does nothing. Override this method in derived class, for example, to start threads. Starts deadlock detection thread.

Overrides:
start in class FHandler
See Also:
FHandler.start(org.friendlysnmp.FHandler.AgentStartType)

stop

public void stop()
The method is called by SNMP agent when it's stopped. Default implementation does nothing. Override this method in derived class, for example, to stop threads.

Overrides:
stop in class FHandler
See Also:
FHandler.stop()

shutdown

public void shutdown()
The method is called by SNMP agent when it's shutdown. Default implementation does nothing. Override this method in derived class has, for example, to shutdown threads. Shutdowns deadlock detection thread.

Overrides:
shutdown in class FHandler
See Also:
FHandler.shutdown()