Open javadevmtl opened 4 years ago
I think that is possible. Did you try it ? If you only want 1 instance of the listener, I would instantiate it earlier and just set it whenever appropriate. Otherwise you have a separate listener object for each bind.
Hi, in the server example you attach the session listeners after the server has accepted the connection.
Is it ok to attach the listener after session.waitForBind() and we verified the password?
For example: