public interface SerialEvent
A type of code is used to identify the event. Additional event types may be defined in the future.
Modifier and Type | Field and Description |
---|---|
static int |
DATA_AVAILABLE
Event type indicating data available.
|
Modifier and Type | Method and Description |
---|---|
String |
getComPort()
Returns the port name of this event.
|
int |
getType()
Returns the type of this event.
|
static final int DATA_AVAILABLE
int getType()
String getComPort()
This value must be equal to the value of
SerialDevice.SERIAL_COMPORT
service property of the
SerialDevice
.
Copyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0