protocol.coffee | |
|---|---|
| | |
| Response types | undefined |
| Process the currently available input. | undefined |
| We're here because we're waiting for argc arguments to arrive before we can execute the next requet. | undefined |
| We're here because the length of the next argument is argl, and we're waiting to receive that many bytes. | undefined |
| We have sufficient input for one argument, extract it from the input and reset argl to await the next argument. | undefined |
| We have all the arguments we expect, run a command and reset argc/argv to await the next command. | undefined |
| See if we have more input to process. | undefined |
| We're here because we expect to read the argument length:
$ | undefined |
| We're here because we epxect to read the number of arguments:
* | undefined |
| Queue next command to execute (since we're pipelining, we wait for the previous command to complete and send its output first). | undefined |
| Invoke this command. | undefined |
| Send a reply back to the client and if there's another command in the queue, invoke it next. | undefined |
| Invoke next command in queue. | undefined |
| There's another command in the queue, add us at the end. | undefined |
| We're the next command in the queue, run now. | undefined |
| Send a response of the specified type. | undefined |
| Turns debugging on. To turn debugging off, pass 0 or false as the argument (no argument required to turn it off). | undefined |
| For testing purposes. | undefined |
| Resets the context. Discards current browser. | undefined |
| Returns the status code of the request for loading the window. | undefined |
| Tells browser to visit | undefined |
| Tells browser to wait for all events to be processed. Replies with error or OK. | undefined |
| Server-side of the Zombie protocol. See http://redis.io/topics/protocol | undefined |
| For each connection (stream): no delay, send data as soon as it's available. | undefined |
Controlling | undefined |
| Start listening to incoming requests. | undefined |
| Returns true if connection is open and active. | undefined |
Zombie.listen port, callbackZombie.listen socket, callbackZombie.listen callbackAsk Zombie to listen on the specified port for requests. The default port is 8091, or you can specify a socket name. The callback is invoked once Zombie is ready to accept new connections. | undefined |