Uses of Class
org.vrspace.server.obj.Client
Package
Description
-
Uses of Client in org.vrspace.client
-
Uses of Client in org.vrspace.server.api
Modifier and TypeMethodDescriptionprotected Client
ClientControllerBase.findClient
(jakarta.servlet.http.HttpSession session) UserController.userObject
(jakarta.servlet.http.HttpSession session) Returns current user object -
Uses of Client in org.vrspace.server.connect
Modifier and TypeMethodDescriptionvoid
void
void
ModifierConstructorDescriptionESLogEntry
(Client client, Boolean connect) ESLogEntry
(Client client, String message, Throwable error) -
Uses of Client in org.vrspace.server.core
Modifier 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.Modifier and TypeMethodDescriptiondefault Client
VRSpaceDBImpl.getClientByName
(String name) WorldManager.getClientByName
(String name) Modifier and TypeMethodDescriptionAdd objects to client's current positionAdd an object to client's current positionStreamManager.addConnection
(Client client) Add another streaming session (for e.g.void
SessionTracker.addSession
(Client client) void
StreamManager.closeConection
(Client client) Close additional (screen share) session.void
StreamManager.disconnect
(Client client, String sessionName) Disconnect a client from a sessionvoid
Failed client requestWorldManager.getPermanents
(Client client) boolean
void
Disconnect a client from an existing session, and create a new session for a worldvoid
A client has logged invoid
Stage 2 of login, executed once client has been identified.void
Notification that a client has logged out - removes it from the scene and sends Remove message.void
A client has logged outvoid
void
void
void
WorldManager.startSession
(Client client) Modifier and TypeMethodDescriptionWorldManager.login
(org.springframework.web.socket.handler.ConcurrentWebSocketSessionDecorator session, Class<? extends Client> clientClass) Common login procedure for both users and remote servers.ModifierConstructorDescriptionScene
(WorldManager world, Client client) Creates new Scene for Client client -
Uses of Client in org.vrspace.server.dto
Modifier 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) Game.execute
(WorldManager worldManager, 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) StreamingSession.execute
(WorldManager manager, Client client) void
void
-
Uses of Client in org.vrspace.server.obj
Modifier and TypeClassDescriptionclass
A Bot is a Client that has no session.class
BotLibre integration point.class
Records all events in the world, saves them to the database, plays them back.class
class
Modifier and TypeMethodDescriptionEventRecorder.getClient()
Ownership.getOwner()
World.getOwner()
Modifier and TypeMethodDescriptionvoid
boolean
ServerWorld.enter
(Client client, WorldManager wm) boolean
World.enter
(Client c, WorldManager wm) Called when client enters the world.void
ServerWorld.exit
(Client client, WorldManager wm) void
World.exit
(Client c, WorldManager wm) Called after client exits the world.abstract reactor.core.publisher.Mono<String>
Bot.getResponseAsync
(Client c, String query) reactor.core.publisher.Mono<String>
BotLibre.getResponseAsync
(Client client, String message) void
EventRecorder.init
(WorldManager worldManager, Client client) void
A client wants to join the game.void
Play back to a client sends all recorded events back to a client, optionally restarts the loop when finished.void
A client left the gamevoid
Get response to something that a client "said", and write itvoid
void
void
void
ModifierConstructorDescriptionEventRecorder
(WorldManager worldManager, Client client, String name)