Commit Graph
72 Commits
Author SHA1 Message Date
andrea 2886aa0bab Extracted common pojo messages definitions 2013-09-10 15:00:18 +02:00
andrea d9131b4b07 Added skeleton for Netty parser 2013-09-09 11:59:59 +02:00
andrea 23b4958592 Renamed parser to mina-parser 2013-09-09 11:04:43 +02:00
andrea 779a0a9d26 Minor fix, cleaned imports 2013-09-01 12:52:50 +02:00
andrea 78daf36418 Minor fix, cleaned imports 2013-08-30 19:21:55 +02:00
andrea 0694f28f32 Simplified APIs 2013-08-30 19:21:11 +02:00
andrea 2c11cade06 Removed a ping pong beteen the ProtocolProcessor and SimpleMessaging, avoid call method, send Event, receive Event e callback a method into ProcotolProcessor 2013-08-30 19:05:09 +02:00
andrea ff0139d809 Changed some methods visibility 2013-08-30 18:55:11 +02:00
andrea 2b7858de7c Minor change, cleaned imports 2013-08-30 18:10:41 +02:00
andrea e579180abf Moved MemoryStorageService from test to src 2013-08-30 18:10:12 +02:00
andrea 635d37112e Renamed DummyStorageService to MemoryStorageService 2013-08-30 18:09:24 +02:00
andrea 63333b11ad Completed the memory implementation of DummyStorageService 2013-08-30 18:08:06 +02:00
andrea d2554788ea Added memory implementation of DummyStorageService for the subscriptions part 2013-08-30 17:40:56 +02:00
andrea 22269ccfb1 Removed empty test case 2013-08-30 17:06:48 +02:00
andrea fb7c137a11 Moved processSubscribe into ProtocolProcessor 2013-08-30 17:06:15 +02:00
andrea dd4ca33ed0 Moved processPublish from SimpleMessaging 2013-08-30 16:14:50 +02:00
andrea 90e2277490 Moved processUnsubscribe into ProtocolProcessor 2013-08-30 15:00:51 +02:00
andrea b3293a031f Moved processDisconnect into ProtocolProcessor 2013-08-30 14:53:57 +02:00
andrea 353b70d6c7 Moved processPubComp into ProtocolProcessor 2013-08-30 13:28:55 +02:00
andrea e74f6d5655 Moved processPubRec into ProtocolProcessor 2013-08-30 13:24:53 +02:00
andrea 7d0cb70584 Moved processPubRel and processPubComp into ProtocolProcessor 2013-08-30 13:23:06 +02:00
andrea 82e998e939 Created ProtocolProcessor and moved into it the processConnect from SimpleMessaging 2013-08-30 13:06:52 +02:00
andrea 49de06e500 Moved assertions to RuntimeError to let error emerge in runtime when assertions are disabled 2013-08-30 10:46:15 +02:00
andrea 0cf31ae364 Moved testUnsubscribe_do_not_notify_anymore_same_session from custome API to Fuse's 2013-08-28 22:27:41 +02:00
andrea 693f498d05 Moved testUnsubscribe_do_not_notify_anymore_new_session from custome API to Fuse's 2013-08-28 22:24:50 +02:00
andrea f46cce493f Moved testRetain_maintainMessage_againstClientDestruction from custome API to Fuse's 2013-08-28 22:15:11 +02:00
andrea 8c04526c62 Moved testCleanSession_maintainClientSubscriptions_withServerRestart from custome API to Fuse's 2013-08-28 22:04:45 +02:00
andrea cdf76080c5 Moved testCleanSession_correctlyClientSubscriptions from custome API to Fuse's 2013-08-28 21:50:19 +02:00
andrea bc513dcba9 Moved testCleanSession_maintainClientSubscriptions_againstClientDestruction from custome API to Fuse's 2013-08-28 21:40:45 +02:00
andrea 016d7e8926 Moved testCleanSession_maintainClientSubscriptions from custome API to Fuse's 2013-08-28 20:14:55 +02:00
andrea 2cc1878cd6 Moved Fuse client source from asynch to sycnh API 2013-08-28 20:12:09 +02:00
andrea 81b4c3fb8d Missed in previous bump 2013-08-28 18:31:51 +02:00
andrea 76a889f160 Bumped version 0.2 2013-08-28 18:18:28 +02:00
andrea a8758b7f04 Fixed interdependency failure between SimpleMessagingTest and ServerIntegrationTest 2013-08-28 18:14:51 +02:00
andrea 2259c115c4 Introduced BFS utility method to be used to do a deep clean in subscriptions tree, and to implement an utility tree dump method 2013-08-28 18:14:09 +02:00
andrea 54af962ea3 Introduced practical toString method 2013-08-28 17:56:06 +02:00
andrea 53cb3dda73 Modified Server class to be embedded, fixes #10 and #11 2013-08-28 10:36:28 +02:00
andrea a010371a8b Removed unused method 2013-08-28 10:26:23 +02:00
andrea afcc20f483 Added unit test and fix for issue #12, due to bad topic in publish message after a late subscription and messages retained in DB. 2013-08-28 10:26:02 +02:00
andrea b1ee353ea8 Minor change, moved the test files into correct folders 2013-08-27 18:03:52 +02:00
andrea 4037a0c0b0 Minor change, minor readability improve 2013-08-27 16:24:11 +02:00
andrea 87791963b6 Defined constant for client's number of messages published 2012-08-29 21:46:47 +02:00
andrea 323811adb2 Added outbound event queue to be handled by Notifier stage 2012-08-29 21:20:36 +02:00
andrea bb3e8170d5 Added log 2012-08-29 14:40:37 +02:00
andrea f2220e664a Removed commented code from client 2012-08-28 11:42:34 +02:00
andrea a8773c3331 Fixed imports 2012-08-27 11:49:30 +02:00
andrea d34201d0d9 Fixed tests 2012-08-27 11:48:54 +02:00
andrea 739f63bc40 Changed SimpleMessaging to be event driven (Incoming requests) 2012-08-27 11:48:21 +02:00
andrea 56431a161e Minor change removed old commented code 2012-08-27 11:36:51 +02:00
andrea f0064357f5 Minor change added a log 2012-08-27 11:36:26 +02:00
andrea d2940741f8 Fixed a TU to wait an asych publish event 2012-08-27 11:35:42 +02:00
andrea 719b8f1894 Minor change, fixed imports 2012-08-26 13:40:14 +02:00
andrea ce7bf469f3 Minor change, fixed imports 2012-08-26 13:38:42 +02:00
andrea 758301149a Changed decodable message method to force loading the complete size of a message, before starting the real decode phase 2012-08-26 13:38:11 +02:00
andrea b5e673d209 Added consumer part for the benchmark 2012-08-26 13:16:25 +02:00
andrea 1ee08d4847 Minor change added debug log 2012-08-26 13:16:01 +02:00
andrea 61f0e261bf Forced the TCP closing on DISCONNECT message 2012-08-25 11:32:30 +02:00
andrea ed78372fd0 Defined the IANA MQTT defined port 2012-08-19 17:00:46 +02:00
[email protected] fcc37cc3d2 Added assembly configuration for unique jar creation 2012-08-19 16:36:00 +02:00
andrea d0677f1c44 Added unsubscribe handling to client lib 2012-08-19 12:25:02 +02:00
andrea 4122f1861b Added integration tests to check unsubscribe 2012-08-19 12:24:20 +02:00
andrea f691767fd5 Added unsubscribe management for server side 2012-08-19 12:17:30 +02:00
andrea 54e0b1520d Fixes for remaining length calculation for unsubscribe encoder 2012-08-19 12:16:44 +02:00
andrea 0fb5d8f7a0 Fixed calculation of remaining length bug in Unsubscribe encoder 2012-08-19 11:58:33 +02:00
andrea 34af828653 Refactored reusable code for QoS 1 sending 2012-08-18 17:59:06 +02:00
andrea 96f24bf8d4 Cleaned Client imports 2012-08-18 17:35:50 +02:00
andrea 0c084ec463 Removed commented code 2012-08-18 17:34:53 +02:00
andrea aef6991eb4 Modified client's subscribe to handle adhere to QoS 1 message type and handle retries 2012-08-18 17:33:30 +02:00
andrea 7b0ac3a373 Added trivial messageID generator on client side 2012-08-18 17:31:24 +02:00
andrea 02e9f8dadc Added groovy test script to check multi index 2012-08-18 12:01:13 +02:00
andrea 8cde7e24f2 Re-enabled commented tests 2012-08-18 11:59:31 +02:00
andrea 10e9d4ce37 Fixed serializability of StoredMessage for retained publish messages 2012-08-18 11:59:11 +02:00