Class NotifHandlerInstance

Object
com.tailf.ncs.snmp.snmp4j.NotifHandlerInstance

public class NotifHandlerInstance extends Object
Helper class which holds handler and if applicable the corresponding opaque object for a registered handler
  • Constructor Details

    • NotifHandlerInstance

      public NotifHandlerInstance(NotificationHandler responder, Object opaque)
      Default constructor
      Parameters:
      responder - a registered SnmpNotificationHandler
      opaque - object passed to the handler at call (or null if not applicable)
  • Method Details

    • getSnmpNotificationHandler

      public NotificationHandler getSnmpNotificationHandler()
      Retrieves the registered Snmp notification handler
      Returns:
      the SnmpNotificationHandler
    • getOpaque

      public Object getOpaque()
      Retrieves the registered opaque object
      Returns:
      the registered opaque object (or null if not applicable)