Package | Description |
---|---|
com.pi4j.io.serial | |
com.pi4j.io.serial.impl | |
com.pi4j.io.serial.tasks |
Modifier and Type | Method and 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.
|
Modifier and Type | Field and Description |
---|---|
protected CopyOnWriteArrayList<SerialDataEventListener> |
SerialImpl.listeners |
Modifier and Type | Method and Description |
---|---|
void |
SerialImpl.addListener(SerialDataEventListener... listener)
Add Serial Event Listener
|
void |
SerialImpl.removeListener(SerialDataEventListener... listener)
Remove Serial Event Listener
|
Constructor and Description |
---|
SerialDataEventDispatchTaskImpl(SerialDataEvent event,
Collection<SerialDataEventListener> listeners) |
Copyright © 2012–2021 Pi4J. All rights reserved.