4 Commits
Author SHA1 Message Date
Pedro Melo cfa7a7b4a5 Move publish() public API to Client, even Readers get to publish sometimes
Signed-off-by: Pedro Melo <melo@simplicidade.org>
2014-07-21 05:16:17 +01:00
Pedro Melo 0d8f13b950 Update publish() on both Connection and Writer to use MPUB if need be:
We accept a list of messages now, before the trailing optional callback.

If multiple messages are present, we switch to MPUB.

Signed-off-by: Pedro Melo <melo@simplicidade.org>
2014-07-21 05:13:36 +01:00
Pedro Melo a9d7134082 Add publish() to Write
Signed-off-by: Pedro Melo <melo@simplicidade.org>
2014-07-20 22:13:50 +01:00
Pedro Melo d3fe82af45 Added skel for our Writer class:
It connect and identifies just fine, but no API for publishing right now.

Signed-off-by: Pedro Melo <melo@simplicidade.org>
2014-07-20 19:52:48 +01:00