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) protected ClientClientControllerBase.findClient(jakarta.servlet.http.HttpSession session, VRObjectRepository db) protected ClientClientControllerBase.getAuthorisedClient(jakarta.servlet.http.HttpSession session) protected ClientClientControllerBase.getAuthorisedClient(jakarta.servlet.http.HttpSession session, VRObjectRepository db) Methods in org.vrspace.server.api that return types with arguments of type ClientModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Client>Find user by name.Groups.listOwners(String groupId, jakarta.servlet.http.HttpSession session) List owners of a group.Show all members of a group. -
Uses of Client in org.vrspace.server.connect
Methods in org.vrspace.server.connect with parameters of type ClientModifier and TypeMethodDescriptionvoidvoidvoidConstructors in org.vrspace.server.connect with parameters of type ClientModifierConstructorDescriptionESLogEntry(Client client, Boolean connect) ESLogEntry(Client client, String message, Throwable error) -
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 TypeMethodDescriptionWorldManager.getCachedClient(Client c) If the client is currently active, cached version of the client, otherwise nulldefault ClientVRSpaceDBImpl.getClientByName(String name) WorldManager.getClientByName(String name) Methods in org.vrspace.server.core that return types with arguments of type ClientModifier and TypeMethodDescriptionGroupRepository.listGroupClients(String groupId) GroupRepository.listGroupOwners(String groupId) GroupManager.listOwners(UserGroup group) Methods in org.vrspace.server.core with parameters of type ClientModifier and TypeMethodDescriptionvoidAccept invitation to a group, either public or privateAdd objects to client's current positionAdd an object to client's current positionStreamManager.addConnection(Client client) Add another streaming session (for e.g.voidvoidSessionTracker.addSession(Client client) voidvoidAllow a client who asked to join a private groupvoidAsk to join a private groupvoidvoidStreamManager.closeConection(Client client) Close additional (screen share) session.GroupManager.createGroup(Client client, UserGroup group) voidGroupManager.deleteGroup(Client client, UserGroup group) voidvoidStreamManager.disconnect(Client client, String sessionName) Disconnect a client from a sessionvoidFailed client requestGroupManager.getAttachment(Client recipient, UserGroup group, String messageId, String fileName) WorldManager.getCachedClient(Client c) If the client is currently active, cached version of the client, otherwise nullGroupManager.getGroupById(Client client, String groupId) GroupManager.getGroupByName(Client client, String name) WorldManager.getPermanents(Client client) voidvoidInvite a client to a group.booleanvoidJoin a public groupvoidDisconnect a client from an existing session, and create a new session for a worldvoidvoidGroup owner can kick another user from the groupvoidLeave a groupGroupManager.listGroups(Client client) GroupManager.listOwnedGroups(Client client) voidA client has logged invoidStage 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.voidA client has logged outvoidCalled by SessionManager after the client closes the web socketGroupManager.pendingInvitations(Client member) Any user can list their own pending invitationsGroupManager.pendingRequests(UserGroup group, Client member) Group owner can list all pending join requestsvoidvoidvoidGroupManager.removeOwner(UserGroup group, Client owner) intWorldManager.startSession(Client client) GroupManager.unreadGroups(Client client) GroupManager.unreadMessages(Client client, UserGroup group) GroupManager.updateGroup(Client client, UserGroup group) voidGroupManager.worldInvite(Client sender, UserGroup group, String worldName, String link) 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 that return ClientMethods in org.vrspace.server.dto with parameters of type ClientModifier and TypeMethodDescriptionAdd.execute(WorldManager world, Client client) Add objects to the world and to the scene scene, returns List of object identifiers (classname+id pairs).Command.execute(WorldManager worldManager, Client client) Data.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) Group.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) StreamingSession.execute(WorldManager manager, Client client) static EventRecorderRecording.getRecorder(WorldManager worldManager, Client client, String name) voidvoidConstructors 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 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 that return ClientModifier and TypeMethodDescriptionEventRecorder.getClient()@NonNull ClientGroupMember.getClient()WebPushSubscription.getClient()GroupMessage.getFrom()Ownership.getOwner()World.getOwner()GroupMember.getSponsor()The client that invited/approved (sponsored) the member; may be null, or maybe point to non-existing client.Methods in org.vrspace.server.obj with parameters of type ClientModifier and TypeMethodDescriptionAllow a member that asked to join into the groupvoidbooleanServerWorld.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.abstract reactor.core.publisher.Mono<String>Bot.getResponseAsync(Client c, String query) reactor.core.publisher.Mono<String>BotLibre.getResponseAsync(Client client, String message) voidEventRecorder.init(WorldManager worldManager, Client client) Set pendingInvite to random UUID, update the timestamp.voidA client wants to join the game.voidPlay back to a client sends all recorded events back to a client, optionally restarts the loop when finished.voidA client left the gamevoidGet response to something that a client "said", and write itvoidvoidvoidvoidvoidvoidvoidGroupMember.setSponsor(Client sponsor) The client that invited/approved (sponsored) the member; may be null, or maybe point to non-existing client.voidConstructors in org.vrspace.server.obj with parameters of type ClientModifierConstructorDescriptionEventRecorder(WorldManager worldManager, Client client, String name) GroupMember(@NonNull UserGroup group, @NonNull Client client) GroupMessage(Client from, UserGroup group, String content, Instant timestamp) WebPushSubscription(Client client, String endpoint, String key, String auth)