Package com.tailf.dp

Interface DpSnmpInformResponseCallback

All Known Implementing Classes:
SnmpInformResponseCallbackProxy

public interface DpSnmpInformResponseCallback
This interface is used for the SNMP notifier callbacks.
Since:
3.2.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    id()
    The id of the SNMP inform callback.
    int
     
    void
    result(Integer ref, ConfETuple target, Boolean gotResponse)
    This callback provides the application with possibility to to take actions based on the result of an inform request for a specific receiver.
    void
    targets(Integer ref, ConfETuple[] targets)
    This callback provides the application with possibility to to take actions based on the intended targets of an inform request.
  • Method Details

    • id

      String id()
      The id of the SNMP inform callback.
    • mask

      int mask()
    • targets

      void targets(Integer ref, ConfETuple[] targets) throws DpCallbackException
      This callback provides the application with possibility to to take actions based on the intended targets of an inform request.
      Parameters:
      ref - A reference assigned by the
      targets - the intended receivers of the inform request.
      Throws:
      DpCallbackException - Callback method failed.
    • result

      void result(Integer ref, ConfETuple target, Boolean gotResponse) throws DpCallbackException
      This callback provides the application with possibility to to take actions based on the result of an inform request for a specific receiver.
      Parameters:
      ref - A reference assigned by the caller of the SNMP inform request @see DpSnmpNotifier.send(String, com.tailf.conf.SnmpVarbind[], Integer)
      target - the receiver returning the result.
      gotResponse - if we got a response or not from the target.
      Throws:
      DpCallbackException - Callback method failed.