Module org.snmp4j
Package org.snmp4j.mp

Interface PduHandleCallback<P>

All Known Implementing Classes:
Snmp.PendingRequest

public interface PduHandleCallback<P>
The PduHandleCallback can be used to get informed about a PduHandle creation before a request is actually sent out.
Since:
1.8
Version:
1.8
Author:
Frank Fock
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    A new PduHandle has been created for a PDU.
  • Method Details

    • pduHandleAssigned

      void pduHandleAssigned(PduHandle handle, P pdu)
      A new PduHandle has been created for a PDU. This event callback notification can be used to get informed about a new PduHandle (just) before a PDU has been sent out.
      Parameters:
      handle - a PduHandle instance that uniquely identifies a request - thus in most cases the request ID.
      pdu - the request PDU for which the handle has been created.