Package | Description |
---|---|
com.pi4j.io.serial | |
com.pi4j.io.serial.impl |
Modifier and Type | Method and Description |
---|---|
void |
Serial.addListener(SerialDataListener... listener)
Java consumer code can call this method to register itself as a listener for serial data
events.
|
void |
Serial.removeListener(SerialDataListener... 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<SerialDataListener> |
SerialImpl.listeners |
Modifier and Type | Method and Description |
---|---|
void |
SerialImpl.addListener(SerialDataListener... listener)
Add Serial Event Listener
|
void |
SerialImpl.removeListener(SerialDataListener... listener)
Remove Serial Event Listener
|
Constructor and Description |
---|
SerialDataMonitorThread(Serial serial,
CopyOnWriteArrayList<SerialDataListener> listeners)
Default constructor
|
Copyright © 2012–2019 Pi4J. All rights reserved.