Commit Graph

  • ac5fb3c9ac Added Netty connection stuff for the I/O andrea 2013-09-15 17:18:26 +02:00
  • 63842088a4 Minor change, implemented trivial toString() andrea 2013-09-15 16:17:03 +02:00
  • 3ce369ab43 Fixed bug in the calculation of payload site in publish decoder due to bad startPos recording andrea 2013-09-15 15:31:09 +02:00
  • 6269330364 Minor change, reorganized imports andrea 2013-09-14 15:06:44 +02:00
  • 466e0946d6 Given public visibility to MQTT Endoer/Decoer constructors to be used from the broker andrea 2013-09-14 15:06:19 +02:00
  • 51f0ba7e1c Added message type to every message andrea 2013-09-14 12:57:06 +02:00
  • 30e165c8ce Separated all mina related stuff in classes to avoid main protocol loop to depend on mina related stuff andrea 2013-09-13 12:44:53 +02:00
  • 70befbcd77 Fixed version of parent pom andrea 2013-09-13 11:50:11 +02:00
  • 5382a9c467 Removed old unused client lib andrea 2013-09-13 11:33:53 +02:00
  • 8ade5f68aa Extracted front MINA connector andrea 2013-09-13 10:24:04 +02:00
  • 6fb4682d8b Added encode/decode for PubRel message andrea 2013-09-12 17:14:21 +02:00
  • 47bdb27261 Added encode/decode for PubRec message andrea 2013-09-12 17:12:02 +02:00
  • dcffda5c4f Added encode/decode for PubComp message andrea 2013-09-12 17:08:20 +02:00
  • fa8a12a6f2 Added encode/decode for UnsubAck message andrea 2013-09-12 17:00:21 +02:00
  • 3066cfdd04 Added encode/decode for PingResp message andrea 2013-09-12 16:53:33 +02:00
  • 3fa3705d55 Added encode/decode for PingReq message andrea 2013-09-12 16:50:36 +02:00
  • ef8f794b93 Added encode/decode for Disconnect message andrea 2013-09-12 16:44:06 +02:00
  • 52402536d9 Added encode/decode for Unsubscribe message andrea 2013-09-12 16:28:51 +02:00
  • daa637c557 Minor cleaned imports andrea 2013-09-12 16:14:51 +02:00
  • 58017f45a1 Minor cleaned imports andrea 2013-09-12 16:01:40 +02:00
  • 2c9858c261 Added encode/decode for SubAck message andrea 2013-09-12 15:58:53 +02:00
  • 9f2497e0f9 Minor cleaned imports andrea 2013-09-12 15:17:42 +02:00
  • c3f5a69d68 Added encode/decode for Subscribe message andrea 2013-09-12 15:16:55 +02:00
  • 1b1cc715be Added encode/decode for PubAck message andrea 2013-09-12 14:45:04 +02:00
  • facec04ac2 Minor cleaned imports andrea 2013-09-12 14:30:25 +02:00
  • 28b37f68ea Added encode/decode for Publish message andrea 2013-09-12 12:38:31 +02:00
  • 4dd633cef8 Minor cleaned imports andrea 2013-09-12 12:11:10 +02:00
  • 4335a566f1 Minor cleaned imports andrea 2013-09-12 09:19:31 +02:00
  • ecfc5e645a Minor cleaned imports andrea 2013-09-11 17:54:47 +02:00
  • 1baa16b8e3 Extracted a TestUtils method mockChannelHandler andrea 2013-09-11 17:51:59 +02:00
  • 93859d1a63 Added encode/decode for ConnAck message andrea 2013-09-11 17:48:07 +02:00
  • 22fe25da32 Introduced hierarchy for message encoders andrea 2013-09-11 16:47:41 +02:00
  • 6afaa46cf4 Moved PubCompMessage to protocol commons module andrea 2013-09-11 16:33:16 +02:00
  • 24e34278aa Introduced DemuxDecoder to root the hierarchy of all message decoders andrea 2013-09-11 16:19:31 +02:00
  • 103d772533 Minor changes andrea 2013-09-11 15:44:15 +02:00
  • 3f44eaee39 Added Connect encoder part andrea 2013-09-11 15:42:00 +02:00
  • 557c682a5e Ported all existing test for MINA ConnectDecoder to Netty's andrea 2013-09-11 11:25:34 +02:00
  • 2ee84797ba Introduced raw decoder for CONNECT messages andrea 2013-09-11 11:06:53 +02:00
  • 2886aa0bab Extracted common pojo messages definitions andrea 2013-09-10 15:00:18 +02:00
  • d9131b4b07 Added skeleton for Netty parser andrea 2013-09-09 11:59:59 +02:00
  • 23b4958592 Renamed parser to mina-parser andrea 2013-09-09 11:04:43 +02:00
  • 779a0a9d26 Minor fix, cleaned imports andrea 2013-09-01 12:52:50 +02:00
  • 13b211e813 Merge branch 'protocol_processor_extraction' selva.andre 2013-08-30 19:23:08 +02:00
  • 78daf36418 Minor fix, cleaned imports andrea 2013-08-30 19:21:55 +02:00
  • 0694f28f32 Simplified APIs andrea 2013-08-30 19:21:11 +02:00
  • 2c11cade06 Removed a ping pong beteen the ProtocolProcessor and SimpleMessaging, avoid call method, send Event, receive Event e callback a method into ProcotolProcessor andrea 2013-08-30 19:05:09 +02:00
  • ff0139d809 Changed some methods visibility andrea 2013-08-30 18:55:11 +02:00
  • 2b7858de7c Minor change, cleaned imports andrea 2013-08-30 18:10:41 +02:00
  • e579180abf Moved MemoryStorageService from test to src andrea 2013-08-30 18:10:12 +02:00
  • 635d37112e Renamed DummyStorageService to MemoryStorageService andrea 2013-08-30 18:09:24 +02:00
  • 63333b11ad Completed the memory implementation of DummyStorageService andrea 2013-08-30 18:08:06 +02:00
  • d2554788ea Added memory implementation of DummyStorageService for the subscriptions part andrea 2013-08-30 17:40:56 +02:00
  • 22269ccfb1 Removed empty test case andrea 2013-08-30 17:06:48 +02:00
  • fb7c137a11 Moved processSubscribe into ProtocolProcessor andrea 2013-08-30 17:06:15 +02:00
  • dd4ca33ed0 Moved processPublish from SimpleMessaging andrea 2013-08-30 16:14:50 +02:00
  • 90e2277490 Moved processUnsubscribe into ProtocolProcessor andrea 2013-08-30 15:00:51 +02:00
  • b3293a031f Moved processDisconnect into ProtocolProcessor andrea 2013-08-30 14:53:57 +02:00
  • 353b70d6c7 Moved processPubComp into ProtocolProcessor andrea 2013-08-30 13:28:55 +02:00
  • e74f6d5655 Moved processPubRec into ProtocolProcessor andrea 2013-08-30 13:24:53 +02:00
  • 7d0cb70584 Moved processPubRel and processPubComp into ProtocolProcessor andrea 2013-08-30 13:23:06 +02:00
  • 82e998e939 Created ProtocolProcessor and moved into it the processConnect from SimpleMessaging andrea 2013-08-30 13:06:52 +02:00
  • 49de06e500 Moved assertions to RuntimeError to let error emerge in runtime when assertions are disabled andrea 2013-08-30 10:46:15 +02:00
  • 55beac9386 Removed custom client side library selva.andre 2013-08-28 22:41:07 +02:00
  • 0cf31ae364 Moved testUnsubscribe_do_not_notify_anymore_same_session from custome API to Fuse's andrea 2013-08-28 22:27:41 +02:00
  • 693f498d05 Moved testUnsubscribe_do_not_notify_anymore_new_session from custome API to Fuse's andrea 2013-08-28 22:24:50 +02:00
  • f46cce493f Moved testRetain_maintainMessage_againstClientDestruction from custome API to Fuse's andrea 2013-08-28 22:15:11 +02:00
  • 8c04526c62 Moved testCleanSession_maintainClientSubscriptions_withServerRestart from custome API to Fuse's andrea 2013-08-28 22:04:45 +02:00
  • cdf76080c5 Moved testCleanSession_correctlyClientSubscriptions from custome API to Fuse's andrea 2013-08-28 21:50:19 +02:00
  • bc513dcba9 Moved testCleanSession_maintainClientSubscriptions_againstClientDestruction from custome API to Fuse's andrea 2013-08-28 21:40:45 +02:00
  • 016d7e8926 Moved testCleanSession_maintainClientSubscriptions from custome API to Fuse's andrea 2013-08-28 20:14:55 +02:00
  • 2cc1878cd6 Moved Fuse client source from asynch to sycnh API andrea 2013-08-28 20:12:09 +02:00
  • 81b4c3fb8d Missed in previous bump andrea 2013-08-28 18:31:51 +02:00
  • 76a889f160 Bumped version 0.2 andrea 2013-08-28 18:18:28 +02:00
  • a8758b7f04 Fixed interdependency failure between SimpleMessagingTest and ServerIntegrationTest andrea 2013-08-28 18:14:51 +02:00
  • 2259c115c4 Introduced BFS utility method to be used to do a deep clean in subscriptions tree, and to implement an utility tree dump method andrea 2013-08-28 18:14:09 +02:00
  • 54af962ea3 Introduced practical toString method andrea 2013-08-28 17:56:06 +02:00
  • 53cb3dda73 Modified Server class to be embedded, fixes #10 and #11 andrea 2013-08-28 10:36:28 +02:00
  • a010371a8b Removed unused method andrea 2013-08-28 10:26:23 +02:00
  • 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. andrea 2013-08-28 10:26:02 +02:00
  • b1ee353ea8 Minor change, moved the test files into correct folders andrea 2013-08-27 18:03:52 +02:00
  • 4037a0c0b0 Minor change, minor readability improve andrea 2013-08-27 16:24:11 +02:00
  • 2cc474dd26 Merge branch 'master' of https://code.google.com/p/moquette-mqtt selva.andre 2012-09-17 11:52:20 +02:00
  • 9df2669839 Fixed issue 5, was due to bad read timeout management in IoSession.idle. andrea 2012-09-17 11:29:13 +02:00
  • ecea97f409 Fixed issue 4, bad calculation of remaining length in big PublishDecoder. andrea 2012-09-16 17:22:13 +02:00
  • 522a0ecb4a Fixed imports andrea 2012-09-16 15:05:15 +02:00
  • 74dfdc7702 Fixed typo selva.andre 2012-09-12 00:28:25 +02:00
  • 501c3fffe6 Merge branch 'split_in_other_modules' selva.andre 2012-09-12 00:25:50 +02:00
  • 34e5177da6 Extracted client module selva.andre 2012-09-12 00:25:30 +02:00
  • fe022cb19c Added broker/terget to gitignore selva.andre 2012-09-12 00:14:34 +02:00
  • ea62a684d0 Completed the exporting into broker module selva.andre 2012-09-12 00:13:24 +02:00
  • 3410f0f0ce First raw code move from parser to newly created broker module selva.andre 2012-09-11 23:39:07 +02:00
  • 48b0b95e58 Added idea IDE files to gitignore selva.andre 2012-09-11 23:23:31 +02:00
  • 633688f184 Implemented the QoS 2 sending part for the server plus a unit test selva.andre 2012-09-11 23:20:32 +02:00
  • b7c2585742 Fixed encoders and decoders declaration for the broker selva.andre 2012-09-11 23:19:44 +02:00
  • c4f186b3c8 Added rough implementation for QoS 2 publish selva.andre 2012-09-10 23:30:40 +02:00
  • 87a51cf4c2 Removed the CleanInFlight evente, because the clean is done once the Publish QoS 1 is just published selva.andre 2012-09-10 21:56:00 +02:00
  • db161599e9 Fixed imports selva.andre 2012-09-09 21:52:54 +02:00
  • de2937d4dd Renamed methods in SubscriptionStore, connect-> activate disconnect ->deactivate selva.andre 2012-09-05 21:35:20 +02:00
  • d9d58e498f Extracted private inner classes from SubscriptionStore to self contained classes selva.andre 2012-09-05 21:30:13 +02:00
  • 562c99b9ed Moved SubscriptionStore and its stuff in separate package selva.andre 2012-09-05 21:26:53 +02:00