Uses of Class
net.targetr.rc.client.ClientRequest
Packages that use ClientRequest
Package
Description
Browser connections, JavaScript command delivery and browser-hosted file transfers.
Room membership, command routing and room lifecycle management.
-
Uses of ClientRequest in net.targetr.rc.client
Fields in net.targetr.rc.client declared as ClientRequestModifier and TypeFieldDescriptionClient.clientRequestThe current client request associated with this client.Methods in net.targetr.rc.client with parameters of type ClientRequestModifier and TypeMethodDescriptionvoidClient.attachRequest(ClientRequest request) Attaches a request, ending the previous request and waking its writer.Client.awaitCommand(ClientRequest request, long timeoutMillis) Waits for and removes the next command while the supplied request is current.voidClient.endRequest(ClientRequest request) Ends a specific request and wakes waiting writers without ending a replacement. -
Uses of ClientRequest in net.targetr.rc.room
Methods in net.targetr.rc.room with parameters of type ClientRequestModifier and TypeMethodDescriptionRoom.attachClient(ClientRequest clientReq) Adds the client to this room.RoomManager.attachClient(ClientRequest req) Looks up or creates a room and attaches a client before it can be evicted.Room.getClient(ClientRequest clientReq) Retrieves an existing client given their client request.RoomManager.getRoom(ClientRequest req) Retrieves the request's room, creating it if absent.