Package jade.core

Interface Sink


  • public interface Sink
    The Sink interface has to be implemented by all the components that process JADE kernel-level commands in an exclusive and terminal way. For each kind of vertical command, there must be at most one sink that is registered for that command. Instead, many command filters can be applied to a single command.
    Author:
    Giovanni Rimassa - FRAMeTech s.r.l.
    See Also:
    Filter
    • Method Detail

      • consume

        void consume​(VerticalCommand cmd)
        Definitely consume a command object. This method is invoked by the kernel when all incoming filters have been applied to the incoming vertical command.
        Parameters:
        cmd - A VerticalCommand describing what operation has been requested from previous layers (that can be the actual prime source of the command or members of the filter chain).