Changes between Version 4 and Version 5 of neercs/protocol


Ignore:
Timestamp:
01/02/2011 03:42:20 PM (13 years ago)
Author:
Sam Hocevar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • neercs/protocol

    v4 v5  
    33= The neercs client-server protocol =
    44
    5 List of commands happening on the client/server sockets.
     5High level client-to-server commands:
     6 * Establish a connection with the server
     7    * '''out''': optional connection credentials
     8    * '''in''': current list of window IDs
     9 * Open a new process window
     10    * '''out''': optional command line (otherwise, a new shell is spawned)
     11    * '''in''': ID of the new window
     12 * Open a process browser window
     13    * '''in''': ID of the new window
     14 * Replace a process browser with the given process
     15    * '''out''': PID of the process to grab
     16 * Kill any window
     17    * '''out''': ID of the window to kill
     18 * Close the connection with the server
    619
    7 == Current commands ==
     20Low level client-to-server commands:
     21 * Send a keystroke for a given window
     22    * '''out''': ID of the window, keystroke information
     23 * Send a mouse event (motion, button press or release) for a given window
     24    * '''out''': ID of the window, mouse event information
     25 * Send a resize event for a given window
     26    * '''out''': ID of the window, resize information
     27 * Set the active refresh area for a given window.
     28    * '''out''': ID of the window, area information
    829
    9 The following commands are currently implemented.
     30== Legacy commands ==
     31
     32The first neercs implementation used the following set of commands.
    1033
    1134Client to server: