-
Declare a new input command type in
command/CommandType.java
-
Add a new class inside
clientserver/command/clienttoserver
package by extending thecommand/ExecutableCommand.java
class- Declare all the fields corresponding to json in the class
- Implement the
execute
method.
See
clientserver/command/clienttoserver/NewIdentityC2SCommand.java
for an example. -
Add a new case in
clientserver/command/clienttoserver/C2SCommandFactory.java