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

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Key for a service property that is used to limit received events.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Callback method that is invoked for received an event.
  • Field Details

    • SERIAL_COMPORT

      static final String SERIAL_COMPORT
      Key for a service property that is used to limit received events.
      See Also:
  • Method Details

    • notifyEvent

      void notifyEvent(SerialEvent event)
      Callback method that is invoked for received an event.
      Parameters:
      event - The SerialEvent object.