selva.andre
2f9931eb6e
Temp save
2012-08-15 10:11:22 +02:00
selva.andre
e8efbfce42
Bug fix and test to check correct encoding of retain flag
2012-08-14 23:16:55 +02:00
selva.andre
6c8fa400d9
Big fix augment unit testing for retained cases
2012-08-14 22:55:25 +02:00
selva.andre
af9fff2911
Added retained messages handling, storage on publish and re-firing (with flag correctly setted) on future subscribe
2012-08-14 22:54:43 +02:00
selva.andre
d2a667ef9e
Moved creation of messsaging index store from SubscriptionsStore up to SimpleMessaging, to be used also for retained messages
2012-08-14 22:52:53 +02:00
selva.andre
025b5c77ff
Fixed implementation for HawtDB storage of subscriptions
2012-08-13 23:42:55 +02:00
selva.andre
389c906d8f
Added raw implementation for subscriptions persistence
2012-08-10 23:24:59 +02:00
selva.andre
943a962bb9
Protected the shared variable that maintans binding between active clientID and related IoSessions with lock
2012-08-10 21:32:20 +02:00
selva.andre
8a21aae034
Fixed the clean session to true coming from a previous clean session false
2012-08-10 21:15:26 +02:00
selva.andre
bc6189c65e
Fixed the clean session once a new connect with an old client ID is re-established
2012-08-10 20:57:36 +02:00
selva.andre
1fcd0290d5
Added integration tests to check cleanSession flag functioning
2012-08-10 19:36:47 +02:00
selva.andre
2dbf10d905
Added to the server's the handling of PING messages
2012-08-10 19:36:14 +02:00
selva.andre
732031a624
Added to the server's MQTTHandler the handling of PINGREQ message
2012-08-10 19:35:43 +02:00
selva.andre
8e3f83403f
Added to the server's MQTTHandler the handleing of DISCONNECT message
2012-08-10 19:31:14 +02:00
selva.andre
5be34ec932
Modified the subscriptions storage to removed the subscriptions for a certain clientID
2012-08-10 19:30:07 +02:00
selva.andre
e15e5721fb
Modified Client to:
...
- accept a user provided clientID in the constructor
- handle the cleanSession in connect method
- let the user register a collback to a topic without do any subscription on server side
- divide the closing from a server from the shutdown of all the client instance
2012-08-10 19:23:23 +02:00
selva.andre
a0139317e8
Modified Server to gracefully terminate on stopServer
2012-08-10 19:17:24 +02:00
selva.andre
50724aa7fd
Minor change
2012-08-09 23:19:07 +02:00
selva.andre
5540805570
Added Client ID generator
2012-08-09 23:14:29 +02:00
selva.andre
937a7b7060
Fixed timer for Ping requests
2012-08-09 22:40:23 +02:00
selva.andre
343f36c4f5
Added cyclic ping request thread.
2012-08-08 23:31:26 +02:00
selva.andre
c1af1d9c31
Removed unused imports
2012-08-08 21:56:22 +02:00
selva.andre
1173406b0a
Fixed matching multi topic and single selector
2012-08-08 21:52:18 +02:00
selva.andre
2ec0c76ba2
First attempt for matching multi topic selector
2012-08-08 21:26:35 +02:00
selva.andre
372af61076
Fixed the matching of topic with multi selector
2012-08-07 23:38:32 +02:00
selva.andre
b9d4356487
Minor change, renamed an inner field
2012-08-07 22:20:20 +02:00
selva.andre
fdedfecfba
Added first implementation for topic tree subscriptions.
2012-08-07 00:17:47 +02:00
selva.andre
f8d75bf004
Added topic + sign parsing for single level wildcard
2012-08-06 22:53:56 +02:00
selva.andre
41f03b2d3e
Switched from plain synchronized to ReadWrite locking
2012-08-01 23:51:25 +02:00
selva.andre
f0dd3f1f2e
Added shutdown hook to the server to unbind correctly the port
2012-08-01 23:37:55 +02:00
selva.andre
3ad7366077
Introduced MQTT logging filter to display more clear message's headers
2012-08-01 23:23:03 +02:00
selva.andre
683ac4e6f6
Switched to slf4j backing on log4j configuration
2012-07-31 22:49:35 +02:00
selva.andre
ae404f047e
Removed retries policy during the send of CONNECT message
2012-07-31 22:21:33 +02:00
selva.andre
80466f6c5f
Added main client test
2012-07-30 23:27:58 +02:00
selva.andre
3169ac165a
Implementaed handlig of publish notification on the client
2012-07-29 22:12:16 +02:00
selva.andre
b32bbe4629
Added skeleton for client side of subscription
2012-07-27 00:17:43 +02:00
selva.andre
397aea8e6a
Added Codecs to handle subscription messages
2012-07-27 00:16:32 +02:00
selva.andre
a65026dd03
Minor change, added some logging
2012-07-27 00:15:53 +02:00
selva.andre
c3176256dc
Fixed SubAck decoder remaining length bug
2012-07-27 00:15:22 +02:00
selva.andre
13c905ec48
Minor fix removed commented code
2012-07-27 00:03:19 +02:00
selva.andre
1e4541c784
Fixed bad encoding value of remaining length field
2012-07-26 23:53:11 +02:00
selva.andre
5ca7d18f7d
Minor change, corrected allocation of a buffer
2012-07-26 23:42:38 +02:00
selva.andre
530704d31e
Fixed bug in Publish Encoder/Decoder
2012-07-26 23:29:01 +02:00
selva.andre
275b6fc1e1
Imports re-layout
2012-07-24 23:16:53 +02:00
selva.andre
b5070a160a
Minor TODO comment
2012-07-24 23:16:15 +02:00
selva.andre
5eecc1f78d
Fixed client's publish at QoS 0
2012-07-24 23:09:30 +02:00
selva.andre
be9d70855f
Fixed unit test for connect-close
2012-07-24 22:44:21 +02:00
selva.andre
4cd366e634
Fixed issue #1 due to bad filtering for messageType byte
2012-07-24 22:43:13 +02:00
selva.andre
a17c07ad46
Minor code fix
2012-07-24 22:29:32 +02:00
selva.andre
98b9d5ce90
Added implementation for the Client.publish
2012-07-23 22:00:10 +02:00
selva.andre
11ff2fa0a1
Minor code layout change
2012-07-23 21:04:20 +02:00
selva.andre
6d1d4a9bb1
Implemented a Client API blocking connect
2012-07-19 22:11:20 +02:00
selva.andre
51a6ea6164
Added base integration test skelethon for connection message from client to server
2012-07-18 22:42:13 +02:00
selva.andre
0e787e758a
Minor refact for test
2012-07-17 22:34:28 +02:00
selva.andre
949a00de14
Added handling of publish messages to the server
2012-07-17 22:31:29 +02:00
selva.andre
a7ad0720bc
Added test for double subscription message to the same topic
2012-07-16 22:28:26 +02:00
selva.andre
b5903bbf84
Added simple implementation for handle subscribe message
2012-07-11 23:44:05 +02:00
selva.andre
061985a336
Minor change, just corrected a typo
2012-07-11 21:41:11 +02:00
selva.andre
911286ab14
Added some docs notes
2012-07-04 22:32:28 +02:00
selva.andre
a95a633586
Merge branch 'refact_submodules'
2012-05-10 22:02:54 +02:00
selva.andre
2cbf237887
Changed lib structure to be modular
2012-05-10 22:00:57 +02:00
selva.andre
0dc403d278
Added same dev notes files
2012-05-10 21:41:10 +02:00
selva.andre
8d48e37aa0
Minor fix, expanded name
2012-05-10 21:40:45 +02:00
selva.andre
aec70c8250
Minor renaming
2012-01-22 18:57:56 +01:00
selva.andre
17e8e55b08
Added testing for will branch in connect message handling
2012-01-22 18:57:14 +01:00
selva.andre
ee76a1c360
Refactored common setup code in a setup method
2012-01-22 18:25:55 +01:00
selva.andre
463aa25693
Implemented the raw connect message handling
2012-01-22 18:02:00 +01:00
selva.andre
aadff9c9bd
Added trivial client implementation
2012-01-22 18:01:06 +01:00
selva.andre
45ae42c4fc
Added dependency on slf4j-jdk logger
2012-01-21 20:37:59 +01:00
selva.andre
556eec95d8
Added missed version in Connect message
2012-01-21 20:33:53 +01:00
selva.andre
422fbc4d2c
First import of moquette proto parser
2012-01-03 18:25:50 +01:00