how to check whether one client connected to the apache apollo broker

37 views
Skip to first unread message

zpy...@mobvoi.com

unread,
Jan 26, 2015, 11:08:16 PM1/26/15
to mq...@googlegroups.com
Hi,
       I am developping one server push platform, and I use the mqtt (apache apollo as broker, Eclipse paho as client ) , I want to implement one function:
       
                                     when one client disconnect from the broker abnormal, i want to retrieve the disconnected info. in order to make it , the client register on will message when it connects to the broker.
                                     in this way I can receive the disconnected info, but it is delayed before I receive the disconnect info.   
                                     I expected to receive the disconnected info instant when the client disconnected from the broker abnormally. who can give me a help? thanks a lot.


Best wishes,
  Roger
Reply all
Reply to author
Forward
0 new messages