- Type Parameters:
ACM
- aAgentConfigManager
for example or any other object firingAgentState
events.
public interface AgentStateListener<ACM>
The
AgentStateListener
informs about changes of the state of a SNMP agent. According to the state change,
the listener may register or unregister MIB modules or run other tasks.- Since:
- 3.0
- Version:
- 3.0
- Author:
- Frank Fock
-
Method Summary
Modifier and TypeMethodDescriptionvoid
agentStateChanged
(ACM agentConfigManager, AgentState newState) The agent state has changed to the new state as provided.
-
Method Details
-
agentStateChanged
The agent state has changed to the new state as provided.- Parameters:
agentConfigManager
- the agent's configuration manager. Use this object to access all agent resources, if needed to process this event.newState
- the new state of the agent. Although the listener may advance to agent state further, it is not recommended to do so, because theAgentConfigManager
will do it anyway.
-