root
Toggle table of contents
goblin-drivers
Target filter
goblin-drivers
Switch theme
Search in API
Skip to content
root
root
/
fi.utu.tech.powergoblin.drivers.serial
/
SerialPortMessageAdapter2
Serial
Port
Message
Adapter2
goblin-drivers
open
class
SerialPortMessageAdapter2
(
val
port
:
SerialPortLike
,
reader
:
SerialPortLineReader
,
pollPeriod
:
Long
)
:
Runnable
,
AutoCloseable
,
SerialPortLineReader
Members
Constructors
Serial
Port
Message
Adapter2
Link copied to clipboard
goblin-drivers
constructor
(
port
:
SerialPortLike
,
reader
:
SerialPortLineReader
,
pollPeriod
:
Long
)
Properties
port
Link copied to clipboard
goblin-drivers
val
port
:
SerialPortLike
Functions
close
Link copied to clipboard
goblin-drivers
open
override
fun
close
(
)
fail
Link copied to clipboard
goblin-drivers
open
fun
fail
(
msg
:
String
?
)
Called when the read loop has failed.
finished
Link copied to clipboard
goblin-drivers
open
fun
finished
(
)
line
Event
Link copied to clipboard
goblin-drivers
open
override
fun
lineEvent
(
line
:
String
)
run
Link copied to clipboard
goblin-drivers
open
override
fun
run
(
)