191a94e19d
First refactoring using the concept of ClientSession also for publish
andsel2015-11-15 11:16:18 +01:00
ce1618cb52
Minor changes, refactored ConnectionDescriptor to be an immutable object
andsel2015-11-10 22:24:35 +01:00
608a72d3ac
Minor change, removed unused reference
andsel2015-11-08 18:34:11 +01:00
19dac6e32b
Refactored the disconenct and clean of session to use new ClientSession
andsel2015-11-08 18:25:55 +01:00
635c87389d
Refactored ProtocolProcessor.processUnsubscribe to use the ClientSession concept instead of direct access to map storage
andsel2015-10-31 11:34:15 +01:00
9a18739a7f
Refactored ProtocolProcessor.processSubscribe to use the ClientSession concept instead of directe access to map storage concepts
andsel2015-10-31 11:14:40 +01:00
c793ded63e
Introduced 'fat' ClientSession class responsible to model the concept of an MQTT client session
andsel2015-10-24 16:26:43 +02:00
3e37df1275
Renamed addInFlight and cleanInFlight to be related to temp messages, not really relate to in-flight
andsel2015-09-24 12:57:26 +02:00
76bdd00a18
Merge pull request #107 from kazvictor/Server-Shutdown-Test-and-Fix
Andrea Selva2015-09-29 21:08:58 +02:00
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.
Victor Kazakov2015-09-25 11:39:24 -07:00
cc4b3715c5
Minor change, avoid to remove and add to the Netty's pipeline the MoquetteIdleTimoutHandler
andsel2015-09-24 12:05:50 +02:00
ea2daa688f
Merge branch 'master' of github.com:andsel/moquette
andsel2015-09-24 11:31:20 +02:00
4e32988661
Merge pull request #106 from kazvictor/QOSType_encode_decode_fixes
Andrea Selva2015-09-24 11:30:45 +02:00
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
Victor Kazakov2015-09-23 16:30:40 -07:00
5e397ea6d9
Minor change, just changed log level in PublishDecoder
andsel2015-09-23 17:05:48 +02:00
ca99a00ac2
Minor, fixed a shutdown exception
andsel2015-09-23 12:22:00 +02:00
33bc23b4e1
Added null check to fix issue #93andsel2015-09-22 15:55:52 +02:00
e08cf95135
Changed willMessage and password in CONNECT message from String to byte[] (fix issue #94 and #95)
andsel2015-09-16 23:25:15 +02:00
9a7ec7fd62
Minor change, just aligned ChangeLog
andsel2015-09-16 22:57:28 +02:00
05446ddf1a
Minor change, just added MapDB groovy toy script
andsel2015-09-16 22:21:15 +02:00
de642bf3e6
Merge pull request #89 from kazvictor/PubRelEncodeFix
Andrea Selva2015-08-25 22:14:51 +02:00
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
Victor Kazakov2015-08-25 09:26:51 -07:00
d8875dd8b9
Moved config part in its separate package
andrea2015-08-22 15:40:55 +02:00
560559fad2
Abstracted configuration part to use filesystem or classpath files
andrea2015-08-22 15:35:11 +02:00
b6554eb0ac
Added simple main class to test embedding of Broker
andrea2015-08-18 23:49:05 +02:00
fdbee3a21f
Added shutdown sequence of the disruptor used in the output part (from ProtocolProcessor down to the cable)
andrea2015-08-18 23:50:21 +02:00
c3224c2a5b
Minor change, updated copyright to 2012-2015
andrea2015-08-08 19:36:14 +02:00
68ac417f65
From cloning of Publish and Connect messages to unmodifiable copies
andrea2015-08-08 19:26:27 +02:00
0c114d3dab
Minor changed, fixed typo in method name (ProcotolVersion to ProtocolVersion)
andrea2015-08-08 19:03:27 +02:00
ccc5ceb3b9
Switched from cloning of ConnectMessage to unmodifiable with copy construtor
andrea2015-08-08 19:02:48 +02:00
dc55ff4078
Removed never used and unsufull no-op interceptor, forced usage of BrokerInterceptor, changed BrokerInterceptor to work on a list of InterceptHandler
andrea2015-08-08 18:37:32 +02:00
9daff2b738
Removed unsufull classes and moved out of internal broker structures the firing of interceptor events
andrea2015-08-08 11:29:58 +02:00
8b48a82968
Fix bug in bad validation of topic names and topic filters, they should be at least 1 char wide (issue #67)
andrea2015-08-01 16:13:24 +02:00