Disabling autoconnect at construction
Status: Inactive
Brought to you by:
grro
Hello,
Can we have something like this in the future ?
NonBlockingConnection nbc = new NonBlockingConnection(host, port, handler);
nbc.connect();
or
NonBlockingConnection nbc = new NonBlockingConnection(handler);
nbc.connect(host, port);
This allow to avoid autoconnection on constructor.
Thank you :)
I have added it to the todo list for 3.x