broker: notify when client connection lost

This commit is contained in:
bcw
2016-10-21 10:28:36 +08:00
parent cf67d5ac52
commit 03c0097641
5 changed files with 42 additions and 6 deletions
@@ -39,6 +39,8 @@ public interface Interceptor {
void notifyClientDisconnected(String clientID, String username);
void notifyClientConnectionLost(String clientID, String username);
void notifyTopicPublished(PublishMessage msg, String clientID, final String username);
void notifyTopicSubscribed(Subscription sub, final String username);