Interface Signal2.Listener<A1,A2>

Enclosing class:
Signal2<A1,A2>

public static interface Signal2.Listener<A1,A2>
The listener interface.

This listener may be added to a Signal2 or JSignal2, and its trigger(Object, Object) method will be invoked whenever the signal is triggered.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    trigger(A1 arg1, A2 arg2)
    Triggers the listener.
  • Method Details

    • trigger

      void trigger(A1 arg1, A2 arg2)
      Triggers the listener.
      Parameters:
      arg1 - Argument 1
      arg2 - Argument 2