andsel
b6239b3c5c
Changed SUBSCRIPTION processing to be based on concurrent FSM
2016-11-27 21:35:20 +01:00
andsel
3ac692a7c7
Removed unuseful sessionStolen attribute from channel
2016-11-27 21:35:20 +01:00
andsel
9a7e643742
Cleaned unused code
2016-11-27 21:35:20 +01:00
andsel
18fa8f4baf
Reworked DISCONNECT to be implemented as fsm
2016-11-27 21:35:20 +01:00
andsel
38746ad0dd
Moved existing CONNECT processing to an FSM
2016-11-27 21:35:20 +01:00
Andrea Selva
40de41adc8
Merge pull request #231 from windbender/master
...
implement #227 , use of atomicintegers on reference counter
2016-11-11 13:49:20 +01:00
chris-lumigrow
9c62e3d05c
a bit of defensive programming in the case of negative reference values
2016-11-10 14:19:43 -08:00
chris-lumigrow
2bc5df8703
implement #227 , use of atomicintegers on reference counter
2016-11-10 14:13:42 -08:00
andsel
7508275cf7
Changed the way a Client session is active and moved to event and states of Channel for CONNECT and DISCONNET messages
2016-11-05 18:29:08 +01:00
andsel
8e43f75f70
Minor changes
2016-11-05 18:29:08 +01:00
andsel
b51b3214ba
Added FSM documentation
2016-11-05 18:29:08 +01:00
andsel
b7dec8f65e
Minor change, just log in disconnet decoder
2016-11-05 18:29:08 +01:00
Andrea Selva
ccdb50e760
Merge pull request #224 from bcw104/master
...
broker: notify when client connection lost
2016-11-05 17:08:09 +01:00
Andrea Selva
e136caef91
Merge pull request #225 from mpaatz/master
...
fixed ConcurrentModification Exceptions in MapDBSessionsStore, fixes #215
2016-10-26 13:52:31 +02:00
Andrea Selva
502deb840b
Merge pull request #212 from teranisi/get_subscriptions_api
...
Add 'getSubscriptions' API on Server.
2016-10-26 13:46:30 +02:00
bcw
3e89bc5d2c
notify when client connection lost;
...
implement onConnectionLost() method in AbstractInterceptHandler.java;
2016-10-24 11:37:10 +08:00
mpaatz
b1850e1dfe
Fixed ConcurrentModification Exceptions in MapDBSessionsStore, fixes #215
2016-10-21 15:23:30 +02:00
bcw
03c0097641
broker: notify when client connection lost
2016-10-21 10:28:36 +08:00
teranisi
0c5f0f293f
Merge conflicts.
2016-10-20 14:27:51 +09:00
teranisi
90998c447b
Make Subscription class immutable.
2016-10-20 14:23:57 +09:00
teranisi
81a1d8d2b2
Add 'getSubscriptions' API on Server.
...
Add a test for sessions without clean session flag.
2016-10-20 14:23:57 +09:00
andsel
cf67d5ac52
Fixed the issue 204, forcing flush at each write insted of wait for the Channel to be flushed
2016-09-27 22:35:16 +02:00
andsel
912a88ec0a
Minor, switched from .replace to .put (JDK 1.7 compatibility)
2016-09-23 12:10:42 +02:00
andsel
8215e89d77
Changed String for guids to its value object
2016-09-23 11:51:25 +02:00
andsel
ac419adbd6
Drop the message when the ref counter reaches 0
2016-09-23 10:16:24 +02:00
andsel
ac5a4daa6f
Changed the way of create MapDB's messages and session stores, it's now more coupled (they are the same stuff at the end)
2016-09-23 10:11:50 +02:00
andsel
4d637a349b
Fixed drop messages in clean session phase, introduced ref counter
2016-09-23 09:45:47 +02:00
teranisi
d664227436
Add 'getSubscriptions' API on Server.
...
Add a test for sessions without clean session flag.
2016-09-16 22:52:35 +09:00
andsel
5efad350d8
Fixed the configuration of HZ for local tests to avoid multicast preferring tcp local address
2016-09-12 17:49:40 +02:00
andsel
4790325f0e
Added MapDP perf test groovy script
2016-09-12 12:39:43 +02:00
andsel
181303b58b
Merge branch 'master' of github.com:andsel/moquette
2016-09-12 12:29:01 +02:00
andsel
55ea2d7c12
Added lab experiment to check H2 MVStore perf
2016-09-12 12:28:55 +02:00
Andrea Selva
40f2d87434
Merge pull request #202 from FraunhoferIOSB/Bugfix-PersistenceFileLock
...
Bugfix for ServerRestartIntegrationTest - Persistence file could not be deleted under Windows
2016-08-19 09:00:57 +02:00
Jacoby
36daf153db
* Bugfix - persistence file could not be deleted under Windows because it was in use by the server
2016-08-18 16:20:14 +02:00
Andrea Selva
8b7458a6c4
Merge pull request #191 from kevto/hotfix/allow-zero-byte-clientid
...
Allow zero byte client identifiers in the connect message.
2016-08-07 22:29:56 +02:00
Andrea Selva
3c614910e5
Merge pull request #192 from kevto/hotfix/anonymous-invalid-close-connection
...
Closing connection on non-zero return code in CONNACK packet.
2016-08-07 22:15:33 +02:00
Kevin Berendsen
807debb622
Terminating the connection if the client failed to receive a CONNACK packet with a non-zero return code. Stated in 3.2.2.3 of MQTT 3.1.1 specificaton.
...
Was checking the wrong channel to see if it was still open or not. The channel that the test was checking on was disconnected a few lines above.
2016-08-07 13:34:06 +02:00
Kevin Berendsen
bc6525e431
MQTT3.1.3-6 stated that the client can connect without giving up an client identifier. However, the broker should generate one for the client id as of the client gave the identifier to broker. The client will now disconnect if the client hasn't given up an identifier with clean session set to 0. Done this regarding issue #190
...
NettyChannelAssertions class has been modified so you could add a message to the assertion.
Unit tests have been added to test the modified processConnect() method.
The server can allow zero byte client identifiers through moquette configuration.
2016-08-07 13:17:41 +02:00
andsel
32b6b9b1da
Minor, renamed SimpleMessaging to ProtocolProcessorBootstrapper
2016-07-22 13:32:25 +02:00
andsel
8cc588d766
Simplyfied creation of HazelcastMsg from InterceptPublishMessage
2016-07-22 13:19:16 +02:00
andsel
29fd6d03b9
Minor refact in HZ configuration
2016-07-22 13:08:48 +02:00
andsel
81100e13b4
Switched to HZ 3.5.4
2016-07-22 12:43:12 +02:00
Andrea Selva
3085ee54d8
Merge pull request #189 from andsel/mackristof-feat/cluster
...
Mackristof feat/cluster
2016-07-22 12:13:16 +02:00
andsel
fedd2965cc
Fixed Hazelcast itnegration tests, removing unusefull thread sleeps, but more important permitting the co existence of 2 Brokers in the same JVM
2016-07-22 12:09:10 +02:00
andsel
7886bf7103
Merge branch 'feat/cluster' of https://github.com/mackristof/moquette into mackristof-feat/cluster
2016-07-21 16:17:15 +02:00
Andrea Selva
6a4aa28489
Merge pull request #188 from kevto/hotfix/client-session-subscribe
...
One param less in ClientSession subscribe method
2016-07-18 21:40:09 +02:00
kevto
486b4fe8ba
Moved the overrideSubscription test from SubscriptionsStoreTest to a new test case named ClientSession. Removed a parameter in ClientSession.subscribe method. topicFilter param had no use but for logging purposes.
2016-07-17 14:24:19 +02:00
Andrea Selva
3d2e69cc21
Merge pull request #187 from iodb/master
...
add/remove InterceptHandlers with server running
2016-07-10 11:22:44 +02:00
IODBEEC1
ed9d91e527
add/remove InterceptHandlers with server running
2016-07-09 09:09:57 +02:00
andsel
1ef2a4fd3c
Minor change, remove a redundant ClientID param from verifyToActivate method
2016-07-02 12:30:19 +02:00