Interface Callback


  • public interface Callback
    An interface for supporting a general, simple callback function.
    • Method Detail

      • callback

        int callback​(int selector,
                     Object parm)
        A generic callback function. Any class which needs to support callback can implement callback and pass a reference to itself to the function that does the callback.
        Parameters:
        selector - An indicator of the function to be performed. Interpretation is determined by the implementing class.
        parm - Whatever data may be appropriate to the callback.
        Returns:
        As specified by the implementing class.