public class CoreLifeHandler extends FHandler
FHandler.AgentStartType
Constructor and Description |
---|
CoreLifeHandler()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addShutdownListener(ShutdownListener l)
Adds
ShutdownListener |
void |
registerMib(BaseMib mb) |
void |
removeShutdownListener(ShutdownListener l)
Removes
ShutdownListener |
void |
shutdown()
Sends shutdown notification.
|
void |
start(FHandler.AgentStartType startType)
Sends startup notification.
|
void |
stop()
The method is called by SNMP agent when it's stopped.
|
getTimestampNow, init, isIntegerEqual, setAgent
public void registerMib(BaseMib mb) throws FException
registerMib
in class FHandler
FException
public void start(FHandler.AgentStartType startType)
public void stop()
stop
in class FHandler
FHandler.stop()
public void addShutdownListener(ShutdownListener l)
ShutdownListener
l
- ShutdownListener
objectpublic void removeShutdownListener(ShutdownListener l)
ShutdownListener
l
- ShutdownListener
object