Uses of Class
org.vrspace.server.obj.Client
Packages that use Client
Package
Description
-
Uses of Client in org.vrspace.client
Methods in org.vrspace.client that return Client -
Uses of Client in org.vrspace.server.api
Methods in org.vrspace.server.api that return ClientModifier and TypeMethodDescriptionprotected ClientClientControllerBase.findClient(jakarta.servlet.http.HttpSession session) UserController.userObject(jakarta.servlet.http.HttpSession session) Returns current user object -
Uses of Client in org.vrspace.server.core
Methods in org.vrspace.server.core with type parameters of type ClientModifier and TypeMethodDescriptiondefault <T extends Client>
TClientFactory.createGuestClient(Class<T> clientClass, org.springframework.http.HttpHeaders headers, Map<String, Object> attributes) Create a new guest client, called only if server configuration allows for anonymous guest clients, and client name (security principal) is unknown.<T extends Client>
TDefaultClientFactory.createGuestClient(Class<T> clientClass, org.springframework.http.HttpHeaders headers, Map<String, Object> attributes) Returns new client.<T extends Client>
TClientFactory.findClient(Class<T> clientClass, Principal principal, VRObjectRepository db, org.springframework.http.HttpHeaders headers, Map<String, Object> attributes) Find an authorised known client, called only if security principal is known.<T extends Client>
TDefaultClientFactory.findClient(Class<T> clientClass, Principal principal, VRObjectRepository db, org.springframework.http.HttpHeaders headers, Map<String, Object> attributes) Returns client existing in the database, identified by "local-user-name" attribute value.<T extends Client>
TVRSpaceDB.getClientByName(String name) <T extends Client>
TVRSpaceDB.getClientByName(String name, Class<T> cls) <T extends Client>
TVRSpaceDBImpl.getClientByName(String name, Class<T> cls) <T extends Client>
TWorldManager.getClientByName(String name, Class<T> cls) default <T extends Client>
TClientFactory.handleUnknownClient(Class<T> clientClass, org.springframework.http.HttpHeaders headers, Map<String, Object> attributes) Called if guest clients are not allowed, and user name (security principal) is unknown.Methods in org.vrspace.server.core that return ClientModifier and TypeMethodDescriptiondefault ClientVRSpaceDBImpl.getClientByName(String name) WorldManager.getClientByName(String name) Methods in org.vrspace.server.core with parameters of type ClientModifier and TypeMethodDescriptionAdd objects to client's current positionAdd an object to client's current positionvoidSessionTracker.addSession(Client client) voidStreamManager.disconnect(Client client, String worldName) WorldManager.getPermanents(Client client) voidDisconnect a client from an existing session, and create a new session for a worldvoidStage 2 of login, executed once client has been identified.voidNotification that a client has logged out - removes it from the scene and sends Remove message.voidvoidvoidvoidWorldManager.startSession(Client client) Method parameters in org.vrspace.server.core with type arguments of type ClientModifier and TypeMethodDescriptionWorldManager.login(org.springframework.web.socket.handler.ConcurrentWebSocketSessionDecorator session, Class<? extends Client> clientClass) Common login procedure for both users and remote servers.Constructors in org.vrspace.server.core with parameters of type ClientModifierConstructorDescriptionScene(WorldManager world, Client client) Creates new Scene for Client client -
Uses of Client in org.vrspace.server.dto
Methods in org.vrspace.server.dto with parameters of type ClientModifier and TypeMethodDescriptionAdd.execute(WorldManager world, Client client) Add objects to the scene, returns List of object identifiers (classname+id pairs)Command.execute(WorldManager worldManager, Client client) Describe.execute(WorldManager world, Client client) Echo.execute(WorldManager world, Client client) Enter.execute(WorldManager manager, Client client) Log.execute(WorldManager manager, Client client) Ping.execute(WorldManager manager, Client client) Recording.execute(WorldManager worldManager, Client client) Refresh.execute(WorldManager world, Client client) Remove.execute(WorldManager world, Client client) Session.execute(WorldManager manager, Client client) SetToken.execute(WorldManager worldManager, Client client) Share.execute(WorldManager world, Client client) Constructors in org.vrspace.server.dto with parameters of type Client -
Uses of Client in org.vrspace.server.obj
Subclasses of Client in org.vrspace.server.objModifier and TypeClassDescriptionclassA proprietary bot.classA Bot is a Client that has no session.classBotLibre integration point.classRecords all events in the world, saves them to the database, plays them back.classclassMethods in org.vrspace.server.obj with parameters of type ClientModifier and TypeMethodDescriptionbooleanServerWorld.enter(Client client, WorldManager wm) booleanWorld.enter(Client c, WorldManager wm) Called when client enters the world.voidServerWorld.exit(Client client, WorldManager wm) voidWorld.exit(Client c, WorldManager wm) Called after client exits the world.ArthurBot.getResponse(Client c, String query) abstract StringBot.getResponse(Client c, String query) BotLibre.getResponse(Client client, String message) voidEventRecorder.init(WorldManager worldManager, Client client) voidPlay back to a client sends all recorded events back to a client, optionally restarts the loop when finished.voidGet response to something that a client "said", and write itConstructors in org.vrspace.server.obj with parameters of type ClientModifierConstructorDescriptionEventRecorder(WorldManager worldManager, Client client, String name)