public void connect(Connection connection) { mCurrentConnectArgs = new Connection(); if (mSocketBase != null) { mSocketBase.connect(connection); } }