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 © OSGi Alliance (2000, 2015). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0