Package org.osgi.service.serial
Interface SerialEventListener
-
public interface SerialEventListener
Serial events are sent using the white board model, in which a bundle interested in receiving the Serial events registers an object implementing the SerialEventListener interface. A COM port name can be set to limit the events for which a bundle is notified.- Author:
- $Id: c42270acb4f87e07b5f424805417d263e1aa3245 $
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SERIAL_COMPORT
Key for a service property that is used to limit received events.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
notifyEvent(SerialEvent event)
Callback method that is invoked for received an event.
-
-
-
Field Detail
-
SERIAL_COMPORT
static final java.lang.String SERIAL_COMPORT
Key for a service property that is used to limit received events.- See Also:
- Constant Field Values
-
-
Method Detail
-
notifyEvent
void notifyEvent(SerialEvent event)
Callback method that is invoked for received an event.- Parameters:
event
- The SerialEvent object.
-
-