Package jade.core
Interface Sink
-
public interface SinkTheSinkinterface 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
-
-
Field Summary
Fields Modifier and Type Field Description static booleanCOMMAND_SOURCEstatic booleanCOMMAND_TARGET
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconsume(VerticalCommand cmd)Definitely consume a command object.
-
-
-
Field Detail
-
COMMAND_SOURCE
static final boolean COMMAND_SOURCE
- See Also:
- Constant Field Values
-
COMMAND_TARGET
static final boolean COMMAND_TARGET
- See Also:
- Constant Field Values
-
-
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- AVerticalCommanddescribing what operation has been requested from previous layers (that can be the actual prime source of the command or members of the filter chain).
-
-