Response line packet - njb-said/Godfrey GitHub Wiki
The response line packet
The response line packet is sent from the java application whenever a command it is executing outputs something.
For example if you run free -m via ssh/command line you would get this:

Well, if you request the same command (free -m) be run via Godfrey each line of the image above, would be a separate response line packet.
Packet type is: RESPONSELINE. Please read Packet-Spec for more information about how packets work.
Packet Layout
Within the data object you would have the following:
linethis is an individual line of a commands responseerrorwhether the line was a notable error (in the error stream)commandthe command you executed (for identification purposes)hashIdthe unique identifier for this execution
Packet Example
You send the command date to server test. You would get one packet back, if you executed this command via ssh/command line you would have something like this:

If the command was executed by Godfrey you would get one response line packet that looked like this:
{"data":{"error":false,"hashId":"0e14fea388a19d0c7752dcef3e0da111","command":"date","line":"Thu Aug 20 18:22:15 CEST 2015"},"packet":"RESPONSELINE","machine":"test"}
Documentation about everything outside the data object can be found here.