All Implemented Interfaces:
Serializable

public class SnmpGetSource extends SnmpSource
Represents a source task that retrieves data using SNMP GET.
See Also:
  • Constructor Details

    • SnmpGetSource

      public SnmpGetSource(String type, List<Compute> computes, boolean forceSerialization, String oid, String key, ExecuteForEachEntryOf executeForEachEntryOf)
      Constructs a new SnmpGetSource instance with the provided attributes.
      Parameters:
      type - the type of the source
      computes - the list of compute operations to be applied
      forceSerialization - flag indicating whether serialization should be forced
      oid - the SNMP OID to retrieve data
      key - the key associated with the source
      executeForEachEntryOf - the execute-for-each-entry-of information
  • Method Details

    • copy

      public SnmpGetSource copy()
      Copy the current instance
      Specified by:
      copy in class Source
      Returns:
      new SnmpGetSource instance
    • toString

      public String toString()
      Overrides:
      toString in class SnmpSource
    • accept

      public SourceTable accept(ISourceProcessor sourceProcessor)
      Description copied from class: Source
      Accepts a source processor to perform processing on the source.
      Specified by:
      accept in class Source
      Parameters:
      sourceProcessor - The source processor to accept.
      Returns:
      A SourceTable representing the processed source.