Uses of Class
org.vrspace.server.obj.Client
-
Packages that use Client Package Description org.vrspace.client org.vrspace.server.api org.vrspace.server.core org.vrspace.server.dto org.vrspace.server.obj -
-
Uses of Client in org.vrspace.client
Methods in org.vrspace.client that return Client Modifier and Type Method Description Client
VRSpaceClient. getClient()
-
Uses of Client in org.vrspace.server.api
Methods in org.vrspace.server.api that return Client Modifier and Type Method Description Client
UserController. userObject(javax.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 Client Modifier and Type Method Description default <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 Client Modifier and Type Method Description Client
SessionManager. getClient(Long id)
default Client
VRObjectRepository. getClient(Long id)
Client
VRSpaceDBImpl. getClientByName(String name)
Client
WorldManager. getClientByName(String name)
Methods in org.vrspace.server.core with parameters of type Client Modifier and Type Method Description List<VRObject>
WorldManager. add(Client client, List<VRObject> objects)
Add objects to client's current positionvoid
SessionTracker. addSession(Client client)
void
StreamManager. disconnect(Client client, String worldName)
Welcome
WorldManager. enter(Client client, String worldName)
Welcome
WorldManager. enter(Client client, World world)
Set<VRObject>
WorldManager. getPermanents(Client client)
Set<VRObject>
WorldManager. getRange(Client client, Point from, Point to)
void
StreamManager. join(Client client, World world)
Disconnect a client from an existing session, and create a new session for a worldvoid
WorldManager. login(Client client)
Stage 2 of login, executed once client has been identified.void
Scene. logout(Client c)
Notification that a client has logged out - removes it from the scene and sends Remove message.void
WorldManager. logout(Client client)
void
SessionTracker. remove(Client client)
void
WorldManager. remove(Client client, VRObject obj)
void
WorldManager. startSession(Client client)
Method parameters in org.vrspace.server.core with type arguments of type Client Modifier and Type Method Description Welcome
WorldManager. 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 Client Constructor Description Scene(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 Client Modifier and Type Method Description Client
VREvent. getClient()
@NonNull Client
Welcome. getClient()
Methods in org.vrspace.server.dto with parameters of type Client Modifier and Type Method Description ClientResponse
Add. execute(WorldManager world, Client client)
Add objects to the scene, returns List of object identifiers (classname+id pairs)ClientResponse
Command. execute(WorldManager worldManager, Client client)
ClientResponse
Describe. execute(WorldManager world, Client client)
ClientResponse
Echo. execute(WorldManager world, Client client)
ClientResponse
Enter. execute(WorldManager manager, Client client)
ClientResponse
Log. execute(WorldManager manager, Client client)
ClientResponse
Ping. execute(WorldManager manager, Client client)
ClientResponse
Recording. execute(WorldManager worldManager, Client client)
ClientResponse
Refresh. execute(WorldManager world, Client client)
ClientResponse
Remove. execute(WorldManager world, Client client)
ClientResponse
Session. execute(WorldManager manager, Client client)
ClientResponse
SetToken. execute(WorldManager worldManager, Client client)
void
VREvent. setClient(Client client)
void
Welcome. setClient(@NonNull Client client)
Constructors in org.vrspace.server.dto with parameters of type Client Constructor Description ClientRequest(Client client, Command cmd)
VREvent(VRObject source, Client client)
Welcome(@NonNull Client client, @NonNull Set<VRObject> permanents)
Welcome(Client client, VRObject... permanents)
-
Uses of Client in org.vrspace.server.obj
Subclasses of Client in org.vrspace.server.obj Modifier and Type Class Description class
ArthurBot
A proprietary bot.class
Bot
A Bot is a Client that has no session.class
BotLibre
BotLibre integration point.class
EventRecorder
Records all events in the world, saves them to the database, plays them back.class
RemoteServer
class
User
Methods in org.vrspace.server.obj that return Client Modifier and Type Method Description Client
EventRecorder. getClient()
Client
Ownership. getOwner()
Client
World. getOwner()
Methods in org.vrspace.server.obj with parameters of type Client Modifier and Type Method Description 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.String
ArthurBot. getResponse(Client c, String query)
abstract String
Bot. getResponse(Client c, String query)
String
BotLibre. getResponse(Client client, String message)
void
EventRecorder. init(WorldManager worldManager, Client client)
void
EventRecorder. play(Client viewer)
Play back to a client sends all recorded events back to a client, optionally restarts the loop when finished.void
Bot. respondTo(Client c, String what)
Get response to something that a client "said", and write itvoid
EventRecorder. setClient(Client client)
void
Ownership. setOwner(Client owner)
void
World. setOwner(Client owner)
Constructors in org.vrspace.server.obj with parameters of type Client Constructor Description EventRecorder(WorldManager worldManager, Client client, String name)
Ownership(Client owner, VRObject owned)
-