com.h3c.util.snmp

## Interface SnmpReceiver.Listener

- Enclosing class:
    SnmpReceiver

      public static interface SnmpReceiver.Listener

  Provides an interface for the trap receiver.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `trapReceived(SnmpResponse trap)` Called back when a new SNMP trap arrives.

- - ### Method Detail

    - #### trapReceived

          void trapReceived(SnmpResponse trap)

      Called back when a new SNMP trap arrives.
      Parameters:
        `trap` - SNMP trap that also contains datagram bytes and the remote address

Copyright © 2014. All Rights Reserved.