Interface AgentStateListener<ACM>

Type Parameters:
ACM - a AgentConfigManager for example or any other object firing AgentState 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 Type
    Method
    Description
    void
    agentStateChanged(ACM agentConfigManager, AgentState newState)
    The agent state has changed to the new state as provided.
  • Method Details

    • agentStateChanged

      void agentStateChanged(ACM agentConfigManager, AgentState newState)
      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 the AgentConfigManager will do it anyway.