Class ClientCommandResult
java.lang.Object
za.co.wethinkcode.robots.server.clientCommands.ClientCommandResult
- All Implemented Interfaces:
CommandResult
- Direct Known Subclasses:
ErrorCommandResult,LaunchClientCommand.LaunchCommandResult,LookClientCommand.LookClientCommandResult,StateClientCommand.StateCommandResult
Abstract parent class of the result of a client's command being executed
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ImplementedClientCommandsReturn the command that this result was evaluatingabstract StringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface za.co.wethinkcode.robots.shared.CommandResult
getInternalResponseCode, toString, writeToDisk
-
Constructor Details
-
ClientCommandResult
public ClientCommandResult()
-
-
Method Details
-
getImplementedClientCommands
Return the command that this result was evaluating- Returns:
- which command this is an evaluation of
-
getMessage
- Returns:
- the result's message (useful for debugging)
-