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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CONFIG_TYPE
config()
config.IO_TYPE
description(String description)
description.IO_TYPE
name(String name)
name.PROVIDER_TYPE
provider()
provider.default IOType
type()
type.-
Methods inherited from interface com.pi4j.common.Identity
describe, description, getDescription, getId, getMetadata, getName, id, metadata, name
-
Methods inherited from interface com.pi4j.common.Lifecycle
initialize, shutdown
-
-
-
-
Method Detail
-
config
CONFIG_TYPE config()
config.
- Returns:
- a CONFIG_TYPE object.
-
name
IO_TYPE name(String name)
name.
- Parameters:
name
- aString
object.- Returns:
- a IO_TYPE object.
-
description
IO_TYPE description(String description)
description.
- Parameters:
description
- aString
object.- Returns:
- a IO_TYPE object.
-
provider
PROVIDER_TYPE provider()
provider.
- Returns:
- a PROVIDER_TYPE object.
-
-