mail disconnect

12 views
Skip to first unread message

bobmanc

unread,
Apr 23, 2013, 6:41:09 PM4/23/13
to google-s...@googlegroups.com
How should a client handle a forced disconnect from the server? The disconnect callback gets called but if you try to call connect it gets an error because the mail client still thinks it is connected. In the reset method on NettyImapClient the precondition always throws the "Cannot reset while mail client is still connected (call disconnect() first)." error. If I call disconnect from the disconnect listener I get an endless loop.

Any ideas?
Reply all
Reply to author
Forward
0 new messages