Class ClientCommandRequest
java.lang.Object
za.co.wethinkcode.robots.client.commands.ClientCommandRequest
- Direct Known Subclasses:
LaunchCommandRequest,LookCommandRequest,StateCommandRequest
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionClientCommandRequest(String robotName, ImplementedClientCommands command, String[] arguments) Standard constructor for a Client Requesting that a command be executed -
Method Summary
Modifier and TypeMethodDescriptionString[]Getter for arguments as a stringAbstract method for childClasses to define their expected argument syntax
-
Field Details
-
command
-
arguments
-
-
Constructor Details
-
ClientCommandRequest
public ClientCommandRequest()
-
-
Method Details
-
getRobotName
-
getCommand
-
getArgumentsMap
Abstract method for childClasses to define their expected argument syntax- Returns:
- Map of Strings corresponding to the type of argument and a value corresponding to its type.
-
getArguments
Getter for arguments as a string- Returns:
- the arguments passed into this request
-