Module org.snmp4j
Package org.snmp4j

Interface CommandResponder

All Superinterfaces:
EventListener
All Known Implementing Classes:
Snmp, Snmp.NotificationDispatcher

public interface CommandResponder extends EventListener
CommandResponder process incoming request, report and notification PDUs. An event may only processed once. A command responder must therefore set the processed member of the supplied CommandResponderEvent object to true when it has processed the PDU.
Version:
3.1.0
Author:
Jochen Katz, Frank Fock
  • Method Summary

    Modifier and Type
    Method
    Description
    <A extends Address>
    void
    Process an incoming request, report or notification PDU.
  • Method Details

    • processPdu

      <A extends Address> void processPdu(CommandResponderEvent<A> event)
      Process an incoming request, report or notification PDU.
      Type Parameters:
      A - type of the peer Address.
      Parameters:
      event - a CommandResponderEvent instance containing the PDU to process and some additional information returned by the message processing model that decoded the SNMP message.