Added implementation for the Client.publish

This commit is contained in:
selva.andre
2012-07-23 22:00:10 +02:00
parent 11ff2fa0a1
commit 98b9d5ce90
3 changed files with 44 additions and 2 deletions
@@ -23,7 +23,7 @@ public class ServerIntegrationTest {
Client client = new Client("localhost", Server.PORT);
client.connect();
//TODO client.publish("/topic", what)
client.publish("/topic", "Test my payload".getBytes());
//TODO client.subscribe("/topic", callback)
client.close();