Module org.snmp4j

Class TreeEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class TreeEvent
    extends RetrievalEvent
    The TreeEvent class reports events in a tree retrieval operation.
    Since:
    1.8
    Version:
    1.8
    Author:
    Frank Fock
    See Also:
    TreeUtils, Serialized Form
    • Constructor Detail

      • TreeEvent

        public TreeEvent​(org.snmp4j.util.TreeUtils.TreeRequest source,
                         java.lang.Object userObject,
                         VariableBinding[] vbs)
      • TreeEvent

        public TreeEvent​(org.snmp4j.util.TreeUtils.TreeRequest source,
                         java.lang.Object userObject,
                         int status)
      • TreeEvent

        public TreeEvent​(org.snmp4j.util.TreeUtils.TreeRequest source,
                         java.lang.Object userObject,
                         PDU report)
      • TreeEvent

        public TreeEvent​(org.snmp4j.util.TreeUtils.TreeRequest source,
                         java.lang.Object userObject,
                         java.lang.Exception exception)
    • Method Detail

      • getVariableBindings

        public VariableBinding[] getVariableBindings()
        Gets the variable bindings retrieved in depth first order from the (sub-)tree.
        Returns:
        VariableBinding[] a possibly empty or null array of VariableBindings.