Package za.co.wethinkcode.robots.shared
package za.co.wethinkcode.robots.shared
This package contains all classes shared between the server and client binary
It primarily contains enums and interfaces
-
ClassDescriptionArgument<T>Interface that allows a class to be an argument to a functionInterface that abstracts all serverCommands and promises all serverCommands will return a commandResultInterface that allows us to abstract the similarities of all command resultsEnum that annotates the cardinal directions absolutelyEnum of all implemented or in progress serverCommands Covers za.co.wethinkcode.robots.client.commands and za.co.wethinkcode.robots.server.clientCommandsExplicit enum for response typesStandard Position class covering where a
WorldObjectisthe abstract Robot interface that both the client and server robot inherit fromEnum covering all supported kinds of robotsEnum storing the different kinds of robot statesConfiguration class for the rules of the objectMapper we useInterface that abstracts the relationship between all responses by the server to the clientEnum for the Response Code that gets send back by the server