Uses of Interface
com.pi4j.io.serial.SerialDataEventListener
-
Packages that use SerialDataEventListener Package Description com.pi4j.io.serial com.pi4j.io.serial.impl com.pi4j.io.serial.tasks -
-
Uses of SerialDataEventListener in com.pi4j.io.serial
Methods in com.pi4j.io.serial with parameters of type SerialDataEventListener Modifier and Type Method Description void
Serial. addListener(SerialDataEventListener... listener)
Java consumer code can call this method to register itself as a listener for serial data events.void
Serial. removeListener(SerialDataEventListener... listener)
Java consumer code can call this method to unregister itself as a listener for serial data events. -
Uses of SerialDataEventListener in com.pi4j.io.serial.impl
Fields in com.pi4j.io.serial.impl with type parameters of type SerialDataEventListener Modifier and Type Field Description protected CopyOnWriteArrayList<SerialDataEventListener>
SerialImpl. listeners
Methods in com.pi4j.io.serial.impl with parameters of type SerialDataEventListener Modifier and Type Method Description void
SerialImpl. addListener(SerialDataEventListener... listener)
Add Serial Event Listenervoid
SerialImpl. removeListener(SerialDataEventListener... listener)
Remove Serial Event Listener -
Uses of SerialDataEventListener in com.pi4j.io.serial.tasks
Constructor parameters in com.pi4j.io.serial.tasks with type arguments of type SerialDataEventListener Constructor Description SerialDataEventDispatchTaskImpl(SerialDataEvent event, Collection<SerialDataEventListener> listeners)
-