Commit Graph
1162 Commits
Author SHA1 Message Date
andrea 2c28c0b771 Extracted persistence interface for subscriptions from IStorageService 2013-12-26 15:28:07 +01:00
andrea ffeb794303 Enabled overriding of subscription from same client to same topic with different QoS, the latest wins 2013-12-26 15:07:15 +01:00
andrea 6428d39ce5 Forced some delay in server shutdown to give time the ProcessorEvent to shutdown correclty (it's asynch operation) 2013-12-26 12:49:38 +01:00
andrea 7695c14598 Minor change added logging 2013-12-26 12:48:35 +01:00
andrea d259d7c5e7 Missed in 2 commits ago 2013-12-26 11:46:34 +01:00
andrea 42311b2c54 Minor change, condensed debug logging 2013-12-26 11:45:52 +01:00
andrea a020d83c8a Added a test to check the cleaning of server status in start/sop cycles (usually used in integration tests itself. 2013-12-26 11:43:53 +01:00
andrea 7e3b6a841f Fixed issue #18, bad pubblishing of QoS0 message to inactive ( not connected) clients 2013-12-22 17:27:43 +01:00
andrea ee3aab938a Minor change, augmented logging quality 2013-12-14 14:05:05 +01:00
andrea 43ce8d6372 Fixed a bug in store remove subscription that doesn't check the clientID but just the topic match 2013-12-14 14:03:49 +01:00
andrea 0ac76e3452 Minor change, redefined toString for ConnectionDescriptor 2013-12-14 12:33:38 +01:00
andrea 4226f4134f Added management of PUBACK messages in return of re-publish messages (after a cleanSession = false rebooted client) to clean sequentially the already dispatched messages 2013-11-27 18:47:34 +01:00
andrea e9adffec54 Minor, added ByteBuffer to string conversion debug Utils 2013-11-27 18:44:42 +01:00
andrea 3ce82c5150 Minor, removed unused import 2013-11-27 15:46:07 +01:00
andrea bd3a1f6c4d Changed the use of string concatenation of String.format in favor of formatted logging methods 2013-11-27 10:43:08 +01:00
andrea f592db516f Fixed the switching from byte[] to ByteBuffer on server storage 2013-11-26 16:21:01 +01:00
selva.andre d596e41716 Merge branch 'master' into remove_content_copy 2013-11-25 18:58:26 +01:00
andrea 101a1060e7 Minor change, removed the logging of contents 2013-11-25 18:56:03 +01:00
andrea f649ebff24 Fixed issue #15, missed notification of publish due to bad re-activation on a nested topic tree. 2013-11-25 18:53:50 +01:00
andrea d4cc804624 Added handling of dirty connection close from client, without an DISCONNECT message 2013-11-25 18:51:35 +01:00
andrea 56ad66c04f Minor change, improved a bit logging messages quality 2013-11-25 17:13:39 +01:00
andrea 9a27304a9e Minor change, improved a bit logging messages quality 2013-11-25 12:17:31 +01:00
andrea a1b1417acb Initial try to remove buffer copies 2013-11-25 09:34:36 +01:00
andrea 1fa810362f Removed dependency on Mina IO framework 2013-11-24 11:51:15 +01:00
andrea 817ca8e176 Added output reactor to isolate the writing of messages 2013-11-14 16:43:03 +01:00
andrea 49d1b2c948 Added tests suite used by Roger Light to check SubscriptionStore.matchTopics 2013-11-06 13:37:23 +01:00
andrea 2c18ee92c7 Added tests suite used by Roger Light to check SubscriptionStore.matches 2013-11-06 12:35:10 +01:00
selva.andre 7bcaadf6ee Added scripted use cases
Minor changes to logging
2013-09-23 11:46:48 +02:00
selva.andre 04478e77e1 Added Message and Bytes read/write metrics 2013-09-20 19:25:19 +02:00
selva.andre f09fcd6cd5 Minor fixes to typos 2013-09-19 20:11:52 +02:00
selva.andre 1dfc6ff77c Switched the default connector from MINA to Netty 2013-09-19 20:10:18 +02:00
selva.andre ecfe3e0936 Added default idle connection timeout in a ChannelPipeline 2013-09-19 20:09:46 +02:00
selva.andre 8f10f3ed15 Moved the clientIDs map (ConnectionDescriptors cache) from SimpleMessaging to ProtocolProcessor 2013-09-17 11:08:05 +02:00
andrea ac5fb3c9ac Added Netty connection stuff for the I/O 2013-09-15 17:18:26 +02:00
andrea 63842088a4 Minor change, implemented trivial toString() 2013-09-15 16:17:03 +02:00
andrea 30e165c8ce Separated all mina related stuff in classes to avoid main protocol loop to depend on mina related stuff 2013-09-13 12:44:53 +02:00
andrea 8ade5f68aa Extracted front MINA connector 2013-09-13 10:24:04 +02:00
andrea 6afaa46cf4 Moved PubCompMessage to protocol commons module 2013-09-11 16:33:16 +02:00
andrea 779a0a9d26 Minor fix, cleaned imports 2013-09-01 12:52:50 +02:00
andrea 0694f28f32 Simplified APIs 2013-08-30 19:21:11 +02:00
andrea 2c11cade06 Removed a ping pong beteen the ProtocolProcessor and SimpleMessaging, avoid call method, send Event, receive Event e callback a method into ProcotolProcessor 2013-08-30 19:05:09 +02:00
andrea ff0139d809 Changed some methods visibility 2013-08-30 18:55:11 +02:00
andrea 2b7858de7c Minor change, cleaned imports 2013-08-30 18:10:41 +02:00
andrea e579180abf Moved MemoryStorageService from test to src 2013-08-30 18:10:12 +02:00
andrea fb7c137a11 Moved processSubscribe into ProtocolProcessor 2013-08-30 17:06:15 +02:00
andrea dd4ca33ed0 Moved processPublish from SimpleMessaging 2013-08-30 16:14:50 +02:00
andrea 90e2277490 Moved processUnsubscribe into ProtocolProcessor 2013-08-30 15:00:51 +02:00
andrea b3293a031f Moved processDisconnect into ProtocolProcessor 2013-08-30 14:53:57 +02:00
andrea 353b70d6c7 Moved processPubComp into ProtocolProcessor 2013-08-30 13:28:55 +02:00
andrea e74f6d5655 Moved processPubRec into ProtocolProcessor 2013-08-30 13:24:53 +02:00