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.
- "ThreadSafe"
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Key for a service property that is used to limit received events. -
Method Summary
Modifier and TypeMethodDescriptionvoid
notifyEvent
(SerialEvent event) Callback method that is invoked for received an event.
-
Field Details
-
SERIAL_COMPORT
Key for a service property that is used to limit received events.- See Also:
-
-
Method Details
-
notifyEvent
Callback method that is invoked for received an event.- Parameters:
event
- The SerialEvent object.
-