Class CallActionHandler<T>

  • Type Parameters:
    T - the type of messages of the Channel
    All Implemented Interfaces:
    ActionHandler<Call<T>,​T>

    public final class CallActionHandler<T>
    extends Object
    implements ActionHandler<Call<T>,​T>
    The ActionHandler implementation for the Call Action. It will always throw an CallNotAllowedAsFinalChannelAction, when called.
    • Constructor Detail

      • CallActionHandler

        public CallActionHandler()
    • Method Detail

      • callActionHandler

        public static <T> CallActionHandler<T> callActionHandler()
        Factory method to create an new CallActionHandler.
        Type Parameters:
        T - the type of messages of the Channel
        Returns:
        a new CallActionHandler