Commit Graph
662 Commits
Author SHA1 Message Date
andsel b35eb9ec81 Removed back ringbuffer 2015-10-05 21:25:30 +02:00
andsel 54c68a61c0 Added timeout check during shutdown of MapDB storage 2015-09-30 22:12:36 +02:00
andsel 6ab413de68 Fixed server shutdown, it doesn't flushed the MapDB to disk 2015-09-30 21:41:55 +02:00
andsel 7fb9d2d55a Removed commented code 2015-09-29 22:29:25 +02:00
andsel f45c0a76e1 Changed the subscription tree to work as persistent tree 2015-09-29 22:29:25 +02:00
andsel 46f9a38056 Removed frot ringbuffer (old isolation from Netty's thread and single protocol processor thread) 2015-09-29 22:29:24 +02:00
andsel b7169271ac Moved test of MapDBPersistenceStore into the test unit 2015-09-29 22:07:45 +02:00
andsel 9effc1edb5 Minor change 2015-09-29 21:44:35 +02:00
andsel a697e77e6c Minor change 2015-09-29 21:41:58 +02:00
andsel db6d296c20 Minor change 2015-09-29 21:39:32 +02:00
andsel 3e37df1275 Renamed addInFlight and cleanInFlight to be related to temp messages, not really relate to in-flight 2015-09-29 21:19:11 +02:00
Andrea Selva 76bdd00a18 Merge pull request #107 from kazvictor/Server-Shutdown-Test-and-Fix
Stopping the persistence commit scheduler in MapDBPersistentStore when it is closed
2015-09-29 21:08:58 +02:00
Victor Kazakov a9404bdf31 Stopping the persistence scheduler in MapDBPersistentStore when it is closed. Adding a test to make sure all threads get stopped when the broker is stopped. 2015-09-25 11:39:24 -07:00
andsel cc4b3715c5 Minor change, avoid to remove and add to the Netty's pipeline the MoquetteIdleTimoutHandler 2015-09-24 12:05:50 +02:00
andsel ea2daa688f Merge branch 'master' of github.com:andsel/moquette 2015-09-24 11:31:20 +02:00
Andrea Selva 4e32988661 Merge pull request #106 from kazvictor/QOSType_encode_decode_fixes
Fixing QOSType encoding and decoding of FAILURE qos (0x80).
2015-09-24 11:30:45 +02:00
Victor Kazakov 767e2ba4b7 Fixing QOSType encoding and decoding of FAILURE qos (0x80). This was causing bug with decoding a SubAck with failure qos type. See Appendix B: MQTT-3.9.3-2 2015-09-23 16:30:40 -07:00
andsel 5e397ea6d9 Minor change, just changed log level in PublishDecoder 2015-09-23 17:05:48 +02:00
andsel ca99a00ac2 Minor, fixed a shutdown exception 2015-09-23 12:22:00 +02:00
andsel 33bc23b4e1 Added null check to fix issue #93 2015-09-22 15:55:52 +02:00
andsel 67087a6a7e Minor changes 2015-09-22 15:52:12 +02:00
andsel fae4685082 Added subprotocol specs for MQTT over WebSocket (fix issue #90) 2015-09-22 15:47:34 +02:00
andsel f7466fd968 Added check to avoid creation of LostConnectionEvents for not yet completed connects (fix issue #88) 2015-09-22 15:29:23 +02:00
Andrea Selva 56f122b8b9 Merge pull request #103 from runafter/issue-91
Fix multiple client connection using SSL issue #91
2015-09-22 11:35:27 +02:00
runafter 709f6d7c4a Fix multiple client using SSL issue #91 2015-09-22 13:34:18 +09:00
andsel 573bf273ff Published old committed on local branch changes (fix for issue #79) 2015-09-20 14:27:06 +02:00
andsel 6e1524817e Fixed ugly empty session storage, avoid fake NullObject empty subscription subscription 2015-09-20 14:10:28 +02:00
andsel f1e2aff331 Minor, splitted ProtocolProcessorTest into 2 sub TestSuites 2015-09-20 11:31:59 +02:00
andsel e68a485e16 Minor added check fake issue #87 2015-09-19 19:58:05 +02:00
andsel e08cf95135 Changed willMessage and password in CONNECT message from String to byte[] (fix issue #94 and #95) 2015-09-16 23:25:15 +02:00
andsel 9a7ec7fd62 Minor change, just aligned ChangeLog 2015-09-16 22:57:28 +02:00
andsel 05446ddf1a Minor change, just added MapDB groovy toy script 2015-09-16 22:21:15 +02:00
Andrea Selva de642bf3e6 Merge pull request #89 from kazvictor/PubRelEncodeFix
PubRelEncoder to encode following MQTT specification
2015-08-25 22:14:51 +02:00
Victor Kazakov fc1ac5973f Adding unit test to check that PubRelEncoder encodes PubRel message flag to match what is in the MQTT specification (both 3.1.1 and 3.1). See Appendix B: MQTT-3.6.1-1 2015-08-25 09:26:51 -07:00
Victor Kazakov d8e432b4cf Fixing PubRelEncoder to encode PubRel message flag to match what is in the MQTT specification http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html#_Toc398718054 2015-08-24 15:10:56 -07:00
andrea d8875dd8b9 Moved config part in its separate package 2015-08-22 15:40:55 +02:00
andrea 560559fad2 Abstracted configuration part to use filesystem or classpath files 2015-08-22 15:35:11 +02:00
andrea b6554eb0ac Added simple main class to test embedding of Broker 2015-08-18 23:59:45 +02:00
andrea fdbee3a21f Added shutdown sequence of the disruptor used in the output part (from ProtocolProcessor down to the cable) 2015-08-18 23:54:24 +02:00
Andrea Selva 28b7529516 Merge pull request #85 from wagnerluis1982/master
Encapsulating every intercept data
2015-08-18 18:09:33 +02:00
Wagner Macedo 96c63b5e6f Encapsulating every intercept data
- Removed UnmodifiableConnectMessage and UnmodifiablePublishMessage
  classes.
2015-08-17 17:54:08 -03:00
andrea 89790291a5 Minor change, updated Netty and MapDB versions 2015-08-10 23:23:43 +02:00
andrea bafcca4c58 Added checking of valid topicFilter format in unsubscribe 2015-08-10 23:07:47 +02:00
andrea 74aaf603e2 Fixed issue #69 2015-08-09 12:16:58 +02:00
andrea c3224c2a5b Minor change, updated copyright to 2012-2015 2015-08-08 19:36:14 +02:00
andrea 68ac417f65 From cloning of Publish and Connect messages to unmodifiable copies 2015-08-08 19:26:27 +02:00
andrea 0c114d3dab Minor changed, fixed typo in method name (ProcotolVersion to ProtocolVersion) 2015-08-08 19:03:27 +02:00
andrea ccc5ceb3b9 Switched from cloning of ConnectMessage to unmodifiable with copy construtor 2015-08-08 19:02:48 +02:00
andrea dc55ff4078 Removed never used and unsufull no-op interceptor, forced usage of BrokerInterceptor, changed BrokerInterceptor to work on a list of InterceptHandler 2015-08-08 18:37:32 +02:00
andrea 9daff2b738 Removed unsufull classes and moved out of internal broker structures the firing of interceptor events 2015-08-08 11:29:58 +02:00