Uses of Class
za.co.wethinkcode.robots.server.worldinfo.WorldStateIdentity
Packages that use WorldStateIdentity
Package
Description
This package encapsulates the behavior of all commands sent by a client to be executed on the server
Their unevaluated and evaluated versions are contained here.
This package encapsulates the main entry point of the server, along with the logic of a single thread
Classes that store info about how the world is created and managed
-
Uses of WorldStateIdentity in za.co.wethinkcode.robots.server.clientCommands
Methods in za.co.wethinkcode.robots.server.clientCommands with parameters of type WorldStateIdentityModifier and TypeMethodDescriptionstatic ClientCommandClientCommandFactory.createCommand(ImplementedClientCommands commandType, ClientCommandRequest clientCommandRequest, WorldStateIdentity worldStateIdentity, com.fasterxml.jackson.databind.ObjectMapper objectMapper) Static method that allows in place creation of commands from the client -
Uses of WorldStateIdentity in za.co.wethinkcode.robots.server.networking
Constructors in za.co.wethinkcode.robots.server.networking with parameters of type WorldStateIdentityModifierConstructorDescriptionServerSingleThread(Socket socket, ClientCommandFactory commandFactory, WorldStateIdentity sharedIdentity) Necessary Constructor for shared Mutable State identityServerSingleThread(Socket socket, WorldStateIdentity identity) This is a single thread execution of server logic.ServerSingleThread(Socket socket, WorldState currentWorldState, ClientCommandFactory commandFactory, WorldStateIdentity sharedIdentity) Constructor OverLoad for the single Thread execution of server Logic. -
Uses of WorldStateIdentity in za.co.wethinkcode.robots.server.worldinfo
Methods in za.co.wethinkcode.robots.server.worldinfo that return WorldStateIdentityModifier and TypeMethodDescriptionMutableWorld.getWorldStateIdentity()Mostly a utility method to get an identity in two lines.