Commit Graph
134 Commits
Author SHA1 Message Date
selva.andre ab65cd250c Minor change on server statistics 2012-09-04 10:15:17 +02:00
selva.andre 588374646e Moved from List of persistent subscription to Set to avoid duplication 2012-09-03 22:08:47 +02:00
selva.andre 1337d8dd5f Removed commented code 2012-09-03 22:02:39 +02:00
selva.andre 9d0aaa0eb5 Renamed close method and event to more clear Stop 2012-09-03 21:59:00 +02:00
selva.andre 870eb12390 * Moved the initialization of SimpleMessaging into the event loop, with an InitEvent
* Modified SimpleMessaging to be a reusable singleton, with init and close methods
2012-09-03 21:52:52 +02:00
selva.andre a2c5c83a48 Silly change, fixed a typo on a comment 2012-09-03 18:17:44 +02:00
selva.andre babad2942a Simple change, added wait barrier in a test 2012-09-03 18:17:00 +02:00
selva.andre bddd8e0745 Moved testing for Connect from MQTTHandler to SimpleMessaging 2012-09-03 12:14:31 +02:00
selva.andre 41f11a14e3 Missed from prev commit 2012-09-02 17:03:04 +02:00
selva.andre cfa0e19205 Reoved blocking queue in favor of LMAX disruptor 2012-09-02 16:57:21 +02:00
selva.andre 217e754de2 Moved IoSessions management into the event loop 2012-09-02 11:31:18 +02:00
selva.andre 21d6d5880c Minor change, reorganized imports 2012-09-01 17:05:58 +02:00
selva.andre 8519b47dc2 Minor change, field renaming 2012-09-01 17:00:57 +02:00
selva.andre a5d28b67e9 Moved all HawtDB stuff into HawtDBStorageService 2012-09-01 17:00:22 +02:00
selva.andre ae8a2afb8b Moved Subscriptions storage from SubscriptionStore to StorageService 2012-09-01 16:55:19 +02:00
selva.andre 6f88060ffe Missed initialization in previous commit 2012-09-01 16:44:47 +02:00
selva.andre b092d15c12 Moved the fling messages part persistence into StorageService 2012-09-01 16:28:03 +02:00
selva.andre 2ed87b2c1a Moved the part to manage Pusblish messages persistence to StorageService 2012-09-01 16:18:09 +02:00
selva.andre 2f9c957310 Moved retained storage part into StorageService 2012-09-01 16:02:48 +02:00
selva.andre 2c2539e457 Removed refill method from IMessaging interface 2012-09-01 13:18:41 +02:00
selva.andre 25efc898a0 Finished to remove back notifier loop 2012-09-01 13:16:40 +02:00
selva.andre 9276ea8c98 Removed back notifier loop 2012-09-01 12:58:40 +02:00
selva.andre e5fbf5c655 Added the storage of QoS1 messages for not clean sessions and the refire once the client reconnects 2012-09-01 12:33:06 +02:00
selva.andre 599afa76e6 Added the logic to de-activate subscriptions on client close 2012-09-01 11:44:07 +02:00
selva.andre 4ef628d0e6 Added active flag to Subscription 2012-09-01 11:41:57 +02:00
selva.andre 5644b8e048 Minor change corrected typos in comments 2012-09-01 11:17:24 +02:00
selva.andre ba7f5284cf Added cleanSession flag to Subscription class 2012-09-01 10:57:59 +02:00
selva.andre 3be2ccca8f Added IoSession attribute to PublishEvent to avoid looking up 2012-09-01 10:22:53 +02:00
selva.andre 04872e07f7 Extracted MQTT session constants into separate class 2012-09-01 10:10:48 +02:00
selva.andre 65e34ddc40 Added QoS 1 pub ack to the server part 2012-08-31 19:23:53 +02:00
selva.andre cb95ecc7cb Added QoS 1 management to Client part 2012-08-31 18:04:31 +02:00
selva.andre 60a79ba9b7 Changed PublishMessage to be a able to handle the messages ID for QoS > 0 cases 2012-08-31 17:16:01 +02:00
selva.andre 585008e29d Fixed API used by test calls 2012-08-31 17:14:40 +02:00
selva.andre 376140cab8 Fixed API used by test calls 2012-08-31 17:07:49 +02:00
selva.andre 90259d4148 First handling of QoS 1 level publish 2012-08-31 16:56:46 +02:00
selva.andre 6888d37fb6 Removed duplication of log lines 2012-08-30 11:37:38 +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 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