Schnittstelle Bus.OnMessage

Umschließende Klasse:
Bus
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public static interface Bus.OnMessage
  • Methodenübersicht Linksymbol

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    onMessage(Message message)
    A message has been posted on the bus.
  • Methodendetails Linksymbol

    • onMessage Linksymbol

      void onMessage(@Nonnull Message message)
      A message has been posted on the bus. This signal is emitted from a
      #GSource added to the mainloop. this signal will only be emitted when
      there is a #GMainLoop running.
      Parameter:
      message - the message that has been posted asynchronously