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, setAgentpublic void registerMib(BaseMib mb) throws FException
registerMib in class FHandlerFExceptionpublic void start(FHandler.AgentStartType startType)
public void stop()
stop in class FHandlerFHandler.stop()public void addShutdownListener(ShutdownListener l)
ShutdownListenerl - ShutdownListener objectpublic void removeShutdownListener(ShutdownListener l)
ShutdownListenerl - ShutdownListener object