Interface UnknownForkHandler


  • public interface UnknownForkHandler
    Allows a user of fork to define the handling of a message for which no fork stack or fork channel exists.
    Author:
    Paul Ferraro
    • Method Detail

      • handleUnknownForkStack

        java.lang.Object handleUnknownForkStack​(Message message,
                                                java.lang.String forkStackId)
        Handle a message that refers to an unknown fork stack
        Parameters:
        message - an incoming message
        forkStackId - the identifier of a fork stack
        Returns:
        the result of the up handler
      • handleUnknownForkChannel

        java.lang.Object handleUnknownForkChannel​(Message message,
                                                  java.lang.String forkChannelId)
        Handle a message that refers to an unknown fork channel
        Parameters:
        message - an incoming message
        forkChannelId - the identifier of a fork channel
        Returns:
        the result of the up handler