Commit Graph

6 Commits

Author SHA1 Message Date
Nick Thomas
875820f011 Creating a new socket is #new, not #connect 2011-11-13 18:43:43 +00:00
Nick Thomas
51175ddf56 Initial, simple, unit-tested implementation of QMPClient.
This follows the README given earlier, at least in principle, but
doesn't implement the entirety of QMP, by any stretch of the
imagination.

Notable by their absence are error responses, argument validation
(for incoming and outgoing messsages of all types), and any visibility
into qmp_capabilities.

Also missing are integration tests.
2011-11-13 18:36:51 +00:00
Nick Thomas
7777e5cacb Add a README file illustrating the desired API 2011-11-13 12:07:54 +00:00
Nick Thomas
c410e31774 Release qmp_client under the MIT license 2011-11-13 12:01:09 +00:00
Nick Thomas
6dc5c832f8 Alter the interface presented by Connectors::Socket
We now provide a queue-like reader as well as a queue-lke writer.
Additional read queues can still be registered.
2011-11-13 12:00:15 +00:00
Nick Thomas
1688e55459 Project framework + socket connector
The socket connector is responsible for reading from a socket and
converting the lines that were read to messages, using a passed-in
deserialiser. It also provides an interface to push messages onto
the socket, via a serialiser which is also passed in.
2011-11-12 21:45:14 +00:00