Hello, I'm currently using Mina 1.1. When I shut down my application I'd like to be able to stop my socket acceptor from accepting further connections without disconnecting existing clients. The reason for not disconnecting the clients is that I want to execute a logout protocol. However, I don't want new clients connecting during this logout phase.
I'm using the unbind method, but that not only stops accepting connections, it also disconnects all existing clients. What is the right way to do what I need to do? Thanks, Steve