Commit Graph
67 Commits
Author SHA1 Message Date
selva.andre e15e5721fb Modified Client to:
- accept a user provided clientID in the constructor
 - handle the cleanSession in connect method
 - let the user register a collback to a topic without do any subscription on server side
 - divide the closing from a server from the shutdown of all the client instance
2012-08-10 19:23:23 +02:00
selva.andre a0139317e8 Modified Server to gracefully terminate on stopServer 2012-08-10 19:17:24 +02:00
selva.andre 50724aa7fd Minor change 2012-08-09 23:19:07 +02:00
selva.andre 5540805570 Added Client ID generator 2012-08-09 23:14:29 +02:00
selva.andre 937a7b7060 Fixed timer for Ping requests 2012-08-09 22:40:23 +02:00
selva.andre 343f36c4f5 Added cyclic ping request thread. 2012-08-08 23:31:26 +02:00
selva.andre c1af1d9c31 Removed unused imports 2012-08-08 21:56:22 +02:00
selva.andre 1173406b0a Fixed matching multi topic and single selector 2012-08-08 21:52:18 +02:00
selva.andre 2ec0c76ba2 First attempt for matching multi topic selector 2012-08-08 21:26:35 +02:00
selva.andre 372af61076 Fixed the matching of topic with multi selector 2012-08-07 23:38:32 +02:00
selva.andre b9d4356487 Minor change, renamed an inner field 2012-08-07 22:20:20 +02:00
selva.andre fdedfecfba Added first implementation for topic tree subscriptions. 2012-08-07 00:17:47 +02:00
selva.andre f8d75bf004 Added topic + sign parsing for single level wildcard 2012-08-06 22:53:56 +02:00
andsel bf1db7b207 Fixed tokenization to handle multi-level sign 2012-08-03 17:34:16 +02:00
andsel 3be3f614c2 Added check of not empty subtopics in splitTopics method 2012-08-03 17:21:16 +02:00
andsel c54b35c79c Introduced trivial tokenization of topic 2012-08-03 17:08:18 +02:00
andsel 279b16fd26 Merge branch 'topic_tree_move' 2012-08-03 16:33:04 +02:00
andsel 03ff484702 Merge branch 'master' into topic_tree_move 2012-08-03 16:32:35 +02:00
andsel 5a5f723d5f Fixed a name clashing 2012-08-03 16:32:21 +02:00
andsel c70163f7ef Fixed imports 2012-08-03 16:30:50 +02:00
andsel 147ef71e06 Fixed buggy test 2012-08-03 16:30:27 +02:00
andsel 8ded145b96 Missed in prev commit 2012-08-03 16:22:25 +02:00
andsel e6756b3c06 Extracted a store for subscriptions 2012-08-03 16:16:41 +02:00
andsel f18ba2e248 Fixed potential indefinite lock retention 2012-08-03 15:44:11 +02:00
selva.andre 41f03b2d3e Switched from plain synchronized to ReadWrite locking 2012-08-01 23:51:25 +02:00
selva.andre f0dd3f1f2e Added shutdown hook to the server to unbind correctly the port 2012-08-01 23:37:55 +02:00
selva.andre 3ad7366077 Introduced MQTT logging filter to display more clear message's headers 2012-08-01 23:23:03 +02:00
selva.andre 683ac4e6f6 Switched to slf4j backing on log4j configuration 2012-07-31 22:49:35 +02:00
selva.andre ae404f047e Removed retries policy during the send of CONNECT message 2012-07-31 22:21:33 +02:00
selva.andre 80466f6c5f Added main client test 2012-07-30 23:27:58 +02:00
selva.andre 3169ac165a Implementaed handlig of publish notification on the client 2012-07-29 22:12:16 +02:00
selva.andre b32bbe4629 Added skeleton for client side of subscription 2012-07-27 00:17:43 +02:00
selva.andre 397aea8e6a Added Codecs to handle subscription messages 2012-07-27 00:16:32 +02:00
selva.andre a65026dd03 Minor change, added some logging 2012-07-27 00:15:53 +02:00
selva.andre c3176256dc Fixed SubAck decoder remaining length bug 2012-07-27 00:15:22 +02:00
selva.andre 13c905ec48 Minor fix removed commented code 2012-07-27 00:03:19 +02:00
selva.andre 1e4541c784 Fixed bad encoding value of remaining length field 2012-07-26 23:53:11 +02:00
selva.andre 5ca7d18f7d Minor change, corrected allocation of a buffer 2012-07-26 23:42:38 +02:00
selva.andre 530704d31e Fixed bug in Publish Encoder/Decoder 2012-07-26 23:29:01 +02:00
selva.andre 275b6fc1e1 Imports re-layout 2012-07-24 23:16:53 +02:00
selva.andre b5070a160a Minor TODO comment 2012-07-24 23:16:15 +02:00
selva.andre 5eecc1f78d Fixed client's publish at QoS 0 2012-07-24 23:09:30 +02:00
selva.andre be9d70855f Fixed unit test for connect-close 2012-07-24 22:44:21 +02:00
selva.andre 4cd366e634 Fixed issue #1 due to bad filtering for messageType byte 2012-07-24 22:43:13 +02:00
selva.andre a17c07ad46 Minor code fix 2012-07-24 22:29:32 +02:00
selva.andre 98b9d5ce90 Added implementation for the Client.publish 2012-07-23 22:00:10 +02:00
selva.andre 11ff2fa0a1 Minor code layout change 2012-07-23 21:04:20 +02:00
selva.andre 6d1d4a9bb1 Implemented a Client API blocking connect 2012-07-19 22:11:20 +02:00
selva.andre 51a6ea6164 Added base integration test skelethon for connection message from client to server 2012-07-18 22:42:13 +02:00
selva.andre 0e787e758a Minor refact for test 2012-07-17 22:34:28 +02:00