Package org.apache.synapse.commons.snmp

## Class SynapseSNMPAgent

- java.lang.Object
- - org.apache.synapse.commons.snmp.SynapseSNMPAgent

-     public class SynapseSNMPAgent
      extends Object

  This is the public API for initializing and stopping the Synapse SNMP agent.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `SynapseSNMPAgent​(Properties properties)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `start()` | Start the SNMP agent for Synapse.
    `void` | `stop()` | Stop and shutdown the Synapse SNMP agent.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SynapseSNMPAgent

          public SynapseSNMPAgent​(Properties properties)

  - ### Method Detail

    - #### start

          public void start()
                     throws IOException

      Start the SNMP agent for Synapse. This will initialize the SNMP transport bindings, initialize the MIB and start the SNMP agent to accept incoming requests.
      Throws:
        `IOException` - If an error occurs while starting the SNMP agent

    - #### stop

          public void stop()

      Stop and shutdown the Synapse SNMP agent.