Package net.targetr.rc.client


package net.targetr.rc.client
Browser connections, JavaScript command delivery and browser-hosted file transfers.

ClientRequest parses the room, client and app details of a connection. ClientWebSocketHandler attaches the client to a room, receives commands for room routing and writes outgoing JavaScript over the live WebSocket. Client manages replacement connections and direct or queued command delivery, while ClientCommand and JavaScriptSnippets encode the browser protocol.

ClientFileProxy requests file data from a connected browser and relays uploaded chunks into an HTTP download response. The file-transfer classes support streaming and range requests without requiring the shared file to be stored as a server-side resource. Room membership and recipient selection are managed by Room.

Author:
Dr Michael Gardiner