org.rrd4j.graph

## Class Source

- java.lang.Object
- - org.rrd4j.graph.Source

- Direct Known Subclasses:
    CDef, Def, PDef, TDef, VDef

      abstract class Source
      extends Object

  Abstract base class for data sources in RRD graphs. Represents a named data source that can provide values for graphing. All data sources must implement requestData() to supply data to the processor.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `(package private) String` | `name` The name of this data source

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Source(String name)` Creates a new data source with the specified name.

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `(package private) abstract void` | `requestData(DataProcessor dproc)` Requests data from this source and provides it to the data processor.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### name

          final String name

      The name of this data source

  - ### Constructor Detail

    - #### Source

          Source(String name)

      Creates a new data source with the specified name.
      Parameters:
        `name` - the name of this data source

  - ### Method Detail

    - #### requestData

          abstract void requestData(DataProcessor dproc)

      Requests data from this source and provides it to the data processor.
      Parameters:
        `dproc` - the data processor to receive the data