public interface Command
Generic Command as a part of Protocol. Protocol is a sequence of
commands that leads to aligned chunks and identified mutations.
- Author:
- troomar
-
Method Summary
Modifier and Type Method Description void
accept(ProtocolVisitor protocolVisitor)
Accepting a visitor to go through the protocol without having to care what command it actually is.Command
clone()
Method for copying commands from generic lists and data structures.
-
Method Details
-
clone
Command clone()Method for copying commands from generic lists and data structures. Cloning shouldn't use standard Java cloning routines, it should always call its supposed cloning constructor or factory method. -
accept
Accepting a visitor to go through the protocol without having to care what command it actually is.- Parameters:
protocoVisitor
-
-