Package com.pi4j.io.serial
Interface SerialDataEventListener
-
- All Superinterfaces:
EventListener
public interface SerialDataEventListener extends EventListener
This interface implements the callback event handler for Serial Data events.
Before using the Pi4J library, you need to ensure that the Java VM in configured with access to the following system libraries:
- pi4j
- wiringPi
This library depends on the wiringPi native system library. (developed by Gordon Henderson @ http://wiringpi.com/)
- Author:
- Robert Savage (http://www.savagehomeautomation.com)
- See Also:
SerialFactory
,Serial
,SerialDataEvent
, https://pi4j.com/
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
dataReceived(SerialDataEvent event)
This is the event callback method that will be invoked when new serial data is received.
-
-
-
Method Detail
-
dataReceived
void dataReceived(SerialDataEvent event)
This is the event callback method that will be invoked when new serial data is received.- Parameters:
event
- serial data event- See Also:
SerialDataEvent
-
-