Uses of Class
net.targetr.rc.client.ClientCommand
Packages that use ClientCommand
Package
Description
Browser connections, JavaScript command delivery and browser-hosted file transfers.
Room membership, command routing and room lifecycle management.
-
Uses of ClientCommand in net.targetr.rc.client
Methods in net.targetr.rc.client that return ClientCommandModifier and TypeMethodDescriptionClient.awaitCommand(ClientRequest request, long timeoutMillis) Waits for and removes the next command while the supplied request is current.Client.popCommand()Retrieves and removes the next command from the queue.static ClientCommandClientCommand.readRaw(ReusableBufferList buffers) Reads a list of buffers and parses it into a ClientCommand.Methods in net.targetr.rc.client with parameters of type ClientCommandModifier and TypeMethodDescriptionvoidClient.enqueueCommand(ClientCommand cmd) Queues a command for the client writer without attempting direct delivery.voidClient.DirectSendHandler.send(ClientCommand cmd) Sends a command to the client.voidClient.sendCommand(ClientCommand cmd) Attempts direct delivery, falling back to the queue if unavailable or failed. -
Uses of ClientCommand in net.targetr.rc.room
Methods in net.targetr.rc.room with parameters of type ClientCommandModifier and TypeMethodDescriptionintRoom.broadcast(Client source, ClientCommand command) Broadcasts a JavaScript command to designated targets in this room.