Future<Session> promise = new FuturePromise<>(); connect(address, listener, promise);
@param address the address to connect to
@param listener the session listener that will be notified of session events
@return a {@link Session} when connected
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.