Interface ScreenNetworking.MessageReceiver<D>

Type Parameters:
D - the message data type
Enclosing interface:
ScreenNetworking
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ScreenNetworking.MessageReceiver<D>
A handler for received screen messages.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onMessage(D data)
    Handles a received screen message.
  • Method Details

    • onMessage

      void onMessage(D data)
      Handles a received screen message.
      Parameters:
      data - the message data