@@ -25,22 +25,22 @@ MERCHANTABLITY OR NON-INFRINGEMENT.
25
25
26
26
See the Apache 2 License for the specific language governing permissions and limitations under the License.
27
27
*/
28
- package io.matthewnelson.topl_android
28
+ package io.matthewnelson.topl_core
29
29
30
30
import android.content.BroadcastReceiver
31
31
import android.content.Context
32
32
import android.content.Intent
33
33
import android.content.IntentFilter
34
34
import android.net.ConnectivityManager
35
- import io.matthewnelson.topl_android .broadcaster.DefaultEventBroadcaster
36
- import io.matthewnelson.topl_android .broadcaster.EventBroadcaster
37
- import io.matthewnelson.topl_android .listener.BaseEventListener
38
- import io.matthewnelson.topl_android .listener.DefaultEventListener
39
- import io.matthewnelson.topl_android .settings.TorSettingsBuilder
40
- import io.matthewnelson.topl_android .util.OnionProxyConsts.ConfigFile
41
- import io.matthewnelson.topl_android .util.FileUtilities
42
- import io.matthewnelson.topl_android .util.WriteObserver
43
- import io.matthewnelson.topl_android_settings .TorStates
35
+ import io.matthewnelson.topl_core .broadcaster.DefaultEventBroadcaster
36
+ import io.matthewnelson.topl_core .broadcaster.EventBroadcaster
37
+ import io.matthewnelson.topl_core .listener.BaseEventListener
38
+ import io.matthewnelson.topl_core .listener.DefaultEventListener
39
+ import io.matthewnelson.topl_core .settings.TorSettingsBuilder
40
+ import io.matthewnelson.topl_core .util.OnionProxyConsts.ConfigFile
41
+ import io.matthewnelson.topl_core .util.FileUtilities
42
+ import io.matthewnelson.topl_core .util.WriteObserver
43
+ import io.matthewnelson.topl_core_base .TorStates
44
44
import net.freehaven.tor.control.TorControlCommands
45
45
import net.freehaven.tor.control.TorControlConnection
46
46
import org.slf4j.Logger
@@ -153,11 +153,11 @@ class OnionProxyManager(
153
153
* @param [localPort] The local port that the hidden service will relay connections to
154
154
* @return The hidden service's onion address in the form X.onion.
155
155
* @throws [IOException] File errors
156
- * @throws [RuntimeException] See [io.matthewnelson.topl_android .util.WriteObserver.poll]
156
+ * @throws [RuntimeException] See [io.matthewnelson.topl_core .util.WriteObserver.poll]
157
157
* @throws [IllegalStateException] If [controlConnection] is null (service isn't running)
158
158
* @throws [NullPointerException] If [controlConnection] is null even after checking
159
159
* @throws [SecurityException] Unauthorized access to file/directory.
160
- * @throws [IllegalArgumentException] See [io.matthewnelson.topl_android .util.WriteObserver.checkExists]
160
+ * @throws [IllegalArgumentException] See [io.matthewnelson.topl_core .util.WriteObserver.checkExists]
161
161
*/
162
162
@Synchronized
163
163
@Throws(
@@ -550,7 +550,7 @@ class OnionProxyManager(
550
550
* @throws [IOException] File problems or timeout
551
551
* @throws [SecurityException] Unauthorized access to file/directory.
552
552
* @throws [IllegalArgumentException] Method only accepts CONTROL_PORT_FILE or COOKIE_AUTH_FILE
553
- * @throws [RuntimeException] See [io.matthewnelson.topl_android .util.WriteObserver.poll]
553
+ * @throws [RuntimeException] See [io.matthewnelson.topl_core .util.WriteObserver.poll]
554
554
*/
555
555
@Throws(IOException ::class ,
556
556
SecurityException ::class ,
0 commit comments