Merge pull request #224 from bcw104/master

broker: notify when client connection lost
This commit is contained in:
Andrea Selva
2016-11-05 17:08:09 +01:00
committed by GitHub
7 changed files with 50 additions and 6 deletions
@@ -51,6 +51,11 @@ public class BrokerInterceptorTest {
n.set(50);
}
@Override
public void onConnectionLost(InterceptConnectionLostMessage msg) {
n.set(30);
}
@Override
public void onPublish(InterceptPublishMessage msg) {
n.set(60);