Module com.pi4j
Package com.pi4j.io

Interface IO<IO_TYPE extends IO,CONFIG_TYPE extends IOConfig,PROVIDER_TYPE extends Provider>

All Superinterfaces:
Describable, Identity, Lifecycle
All Known Subinterfaces:
Analog<ANALOG_TYPE,CONFIG_TYPE,PROVIDER_TYPE>, AnalogInput, AnalogOutput, Digital<DIGITAL_TYPE,CONFIG_TYPE,PROVIDER_TYPE>, DigitalInput, DigitalOutput, com.pi4j.io.gpio.Gpio<IO_TYPE,CONFIG_TYPE,PROVIDER_TYPE>, I2C, Pwm, Serial, Spi
All Known Implementing Classes:
AnalogBase, AnalogInputBase, AnalogOutputBase, DigitalBase, DigitalInputBase, DigitalOutputBase, com.pi4j.io.gpio.GpioBase, I2CBase, IOBase, PwmBase, SerialBase, SpiBase

public interface IO<IO_TYPE extends IO,CONFIG_TYPE extends IOConfig,PROVIDER_TYPE extends Provider> extends Describable, Lifecycle, Identity

IO interface.

Version:
$Id: $Id
Author:
Robert Savage (http://www.savagehomeautomation.com)
  • Method Details

    • config

      CONFIG_TYPE config()

      config.

      Returns:
      a CONFIG_TYPE object.
    • type

      default IOType type()

      type.

      Returns:
      a IOType object.
    • name

      IO_TYPE name(String name)

      name.

      Parameters:
      name - a String object.
      Returns:
      a IO_TYPE object.
    • description

      IO_TYPE description(String description)

      description.

      Parameters:
      description - a String object.
      Returns:
      a IO_TYPE object.
    • provider

      PROVIDER_TYPE provider()

      provider.

      Returns:
      a PROVIDER_TYPE object.