Commit Graph
100 Commits
Author SHA1 Message Date
andrea 1ad5acef7c Added loading of user identities form password_file, Fix issue #23 2014-03-02 18:16:50 +01:00
andrea b0d9bc2d6a Simplified buffer allocation for SubAck encoding part 2014-02-23 12:58:11 +01:00
andrea 16ccfeda1d Added release operation on all ByteBuf used in encoding part 2014-02-23 12:46:37 +01:00
andrea 6be1f99cf9 Changed the policy to publish the buffer of a message, now use a duplicate, instead of shared rewinded. Fix #30 2014-02-22 20:13:44 +01:00
andrea 3ba72cbad5 Fixed buggy test, missed to rewind a buffer before submitting. 2014-02-22 20:04:28 +01:00
andrea 9624815c82 Introduction of mosquitto.conf parser, fix #29 2014-02-22 11:14:56 +01:00
andrea e73a2a8b9e Fix issue #30 rewind of message ByteBuffer 2014-02-15 12:06:03 +01:00
andrea 56a178c786 Removed all "provided" marked deps 2014-02-08 19:40:19 +01:00
andrea c9dbf58737 Removed a silencer try..catch 2014-02-08 19:39:19 +01:00
andrea ccbfe04988 Added the OSGi exporting of packages used by HawDB module (serialized classes of subscription and PublishEvent) 2014-01-28 23:04:07 +01:00
andrea 1d9e2ccad2 Added test client to check and fix issue #21 2014-01-11 13:19:12 +01:00
andrea a7619e889b Changed write to writeAndFlush fix issue #20 2014-01-10 10:45:56 +01:00
andrea a6118b2942 Minor change, stripped the number of netty libs used in deploy (no need to carry netty-all) 2014-01-10 10:41:03 +01:00
andrea 373b9657c2 Minor change, extracted TestCallback halper for Paho notifications 2013-12-27 18:05:25 +01:00
andrea 06c0eb3e87 Minor change, test class rename 2013-12-27 17:55:10 +01:00
andrea 3f0724d1dc Changed SUBACK response to accept all requested QoS on SUBSCRIBE request 2013-12-27 16:45:25 +01:00
andrea a6f94cb0a3 Prepared next development iteration 2013-12-26 21:33:59 +01:00
andrea 5be2fa9cfe Releaased version 0.4 2013-12-26 21:28:39 +01:00
andrea 224bcc1721 Modified SimpleMessaging.close() to be synchronous and avoid thread synch problems in stop/start cycle used in integration tests. Fix issue #19 2013-12-26 21:10:34 +01:00
andrea 33705c52e0 * Added integration test to check QoS downgrading for messages delivered to registered subscribers
* Fixed a deouble delivery of messages in case of QoS2 publish
2013-12-26 18:32:41 +01:00
andrea 2c28c0b771 Extracted persistence interface for subscriptions from IStorageService 2013-12-26 15:28:07 +01:00
andrea ffeb794303 Enabled overriding of subscription from same client to same topic with different QoS, the latest wins 2013-12-26 15:07:15 +01:00
andrea 06eb509bc3 Minor change, added coverage plugin 2013-12-26 12:53:48 +01:00
andrea 6428d39ce5 Forced some delay in server shutdown to give time the ProcessorEvent to shutdown correclty (it's asynch operation) 2013-12-26 12:49:38 +01:00
andrea 7695c14598 Minor change added logging 2013-12-26 12:48:35 +01:00
andrea d259d7c5e7 Missed in 2 commits ago 2013-12-26 11:46:34 +01:00
andrea 42311b2c54 Minor change, condensed debug logging 2013-12-26 11:45:52 +01:00
andrea a020d83c8a Added a test to check the cleaning of server status in start/sop cycles (usually used in integration tests itself. 2013-12-26 11:43:53 +01:00
andrea 9639639420 Minor change, introduced a latch to fix threading problem in test unit 2013-12-26 10:59:09 +01:00
andrea d59f5b9473 Minor change, introduced a latch to fix threading problem in test unit 2013-12-22 17:41:13 +01:00
andrea 7e3b6a841f Fixed issue #18, bad pubblishing of QoS0 message to inactive ( not connected) clients 2013-12-22 17:27:43 +01:00
andrea ee3aab938a Minor change, augmented logging quality 2013-12-14 14:05:05 +01:00
andrea 43ce8d6372 Fixed a bug in store remove subscription that doesn't check the clientID but just the topic match 2013-12-14 14:03:49 +01:00
andrea 0ac76e3452 Minor change, redefined toString for ConnectionDescriptor 2013-12-14 12:33:38 +01:00
andrea a50cabc572 In test, moved publisher and subscriber from local variables to fields 2013-12-14 10:01:14 +01:00
andrea 072c4fef86 Fixed issue #16 2013-11-27 18:48:57 +01:00
andrea 4226f4134f Added management of PUBACK messages in return of re-publish messages (after a cleanSession = false rebooted client) to clean sequentially the already dispatched messages 2013-11-27 18:47:34 +01:00
andrea 6c3deb392d Re-added FuseSource MQTT client because simplify certain testing use cases 2013-11-27 18:45:56 +01:00
andrea e9adffec54 Minor, added ByteBuffer to string conversion debug Utils 2013-11-27 18:44:42 +01:00
andrea 3ce82c5150 Minor, removed unused import 2013-11-27 15:46:07 +01:00
andrea 233a466dd6 Fixed ghost error due to bad timing in the test 2013-11-27 11:21:04 +01:00
andrea bd3a1f6c4d Changed the use of string concatenation of String.format in favor of formatted logging methods 2013-11-27 10:43:08 +01:00
andrea 215b85c407 Added publisher and subscriber using mqtt-client lib from FuseSource 2013-11-26 18:46:54 +01:00
andrea f592db516f Fixed the switching from byte[] to ByteBuffer on server storage 2013-11-26 16:21:01 +01:00
andrea d9d2d13d0d Adapted Netty parser to use ByteBuffer instead of byte[] 2013-11-26 13:50:50 +01:00
andrea e9bb34898b Adapted Netty parser to use ByteBuffer instead of byte[] 2013-11-26 12:25:48 +01:00
andrea 101a1060e7 Minor change, removed the logging of contents 2013-11-25 18:56:03 +01:00
andrea f649ebff24 Fixed issue #15, missed notification of publish due to bad re-activation on a nested topic tree. 2013-11-25 18:53:50 +01:00
andrea d4cc804624 Added handling of dirty connection close from client, without an DISCONNECT message 2013-11-25 18:51:35 +01:00
andrea 56ad66c04f Minor change, improved a bit logging messages quality 2013-11-25 17:13:39 +01:00
andrea 9a27304a9e Minor change, improved a bit logging messages quality 2013-11-25 12:17:31 +01:00
andrea a1b1417acb Initial try to remove buffer copies 2013-11-25 09:34:36 +01:00
andrea 056ab10121 Re-enabled commented tests 2013-11-24 14:44:23 +01:00
andrea 9cec0af484 Removed the Mina parser 2013-11-24 11:52:10 +01:00
andrea 1fa810362f Removed dependency on Mina IO framework 2013-11-24 11:51:15 +01:00
andrea 817ca8e176 Added output reactor to isolate the writing of messages 2013-11-14 16:43:03 +01:00
andrea 49d1b2c948 Added tests suite used by Roger Light to check SubscriptionStore.matchTopics 2013-11-06 13:37:23 +01:00
andrea 2c18ee92c7 Added tests suite used by Roger Light to check SubscriptionStore.matches 2013-11-06 12:35:10 +01:00
andrea 136b7e25c3 Set up for next development cycle (version 0.4) 2013-11-06 10:44:29 +01:00
andrea ac5fb3c9ac Added Netty connection stuff for the I/O 2013-09-15 17:18:26 +02:00
andrea 63842088a4 Minor change, implemented trivial toString() 2013-09-15 16:17:03 +02:00
andrea 3ce369ab43 Fixed bug in the calculation of payload site in publish decoder due to bad startPos recording 2013-09-15 15:31:09 +02:00
andrea 6269330364 Minor change, reorganized imports 2013-09-14 15:06:44 +02:00
andrea 466e0946d6 Given public visibility to MQTT Endoer/Decoer constructors to be used from the broker 2013-09-14 15:06:19 +02:00
andrea 51f0ba7e1c Added message type to every message 2013-09-14 12:57:06 +02:00
andrea 30e165c8ce Separated all mina related stuff in classes to avoid main protocol loop to depend on mina related stuff 2013-09-13 12:44:53 +02:00
andrea 70befbcd77 Fixed version of parent pom 2013-09-13 11:50:11 +02:00
andrea 5382a9c467 Removed old unused client lib 2013-09-13 11:33:53 +02:00
andrea 8ade5f68aa Extracted front MINA connector 2013-09-13 10:24:04 +02:00
andrea 6fb4682d8b Added encode/decode for PubRel message 2013-09-12 17:14:21 +02:00
andrea 47bdb27261 Added encode/decode for PubRec message 2013-09-12 17:12:02 +02:00
andrea dcffda5c4f Added encode/decode for PubComp message 2013-09-12 17:08:20 +02:00
andrea fa8a12a6f2 Added encode/decode for UnsubAck message 2013-09-12 17:00:21 +02:00
andrea 3066cfdd04 Added encode/decode for PingResp message 2013-09-12 16:53:33 +02:00
andrea 3fa3705d55 Added encode/decode for PingReq message 2013-09-12 16:50:36 +02:00
andrea ef8f794b93 Added encode/decode for Disconnect message 2013-09-12 16:44:06 +02:00
andrea 52402536d9 Added encode/decode for Unsubscribe message 2013-09-12 16:28:51 +02:00
andrea daa637c557 Minor cleaned imports 2013-09-12 16:14:51 +02:00
andrea 58017f45a1 Minor cleaned imports 2013-09-12 16:01:40 +02:00
andrea 2c9858c261 Added encode/decode for SubAck message 2013-09-12 15:58:53 +02:00
andrea 9f2497e0f9 Minor cleaned imports 2013-09-12 15:17:42 +02:00
andrea c3f5a69d68 Added encode/decode for Subscribe message 2013-09-12 15:16:55 +02:00
andrea 1b1cc715be Added encode/decode for PubAck message 2013-09-12 14:45:04 +02:00
andrea facec04ac2 Minor cleaned imports 2013-09-12 14:30:25 +02:00
andrea 28b37f68ea Added encode/decode for Publish message 2013-09-12 12:38:31 +02:00
andrea 4dd633cef8 Minor cleaned imports 2013-09-12 12:11:10 +02:00
andrea 4335a566f1 Minor cleaned imports 2013-09-12 09:19:31 +02:00
andrea ecfc5e645a Minor cleaned imports 2013-09-11 17:54:47 +02:00
andrea 1baa16b8e3 Extracted a TestUtils method mockChannelHandler 2013-09-11 17:51:59 +02:00
andrea 93859d1a63 Added encode/decode for ConnAck message 2013-09-11 17:48:07 +02:00
andrea 22fe25da32 Introduced hierarchy for message encoders 2013-09-11 16:47:41 +02:00
andrea 6afaa46cf4 Moved PubCompMessage to protocol commons module 2013-09-11 16:33:16 +02:00
andrea 24e34278aa Introduced DemuxDecoder to root the hierarchy of all message decoders 2013-09-11 16:19:31 +02:00
andrea 103d772533 Minor changes 2013-09-11 15:44:15 +02:00
andrea 3f44eaee39 Added Connect encoder part 2013-09-11 15:42:00 +02:00
andrea 557c682a5e Ported all existing test for MINA ConnectDecoder to Netty's 2013-09-11 11:25:34 +02:00
andrea 2ee84797ba Introduced raw decoder for CONNECT messages 2013-09-11 11:06:53 +02:00
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