C
- the type of connection created by this builderpublic static interface StrongBuilder.Callback<C>
Modifier and Type | Method and Description |
---|---|
void |
onConnected(C connection)
Called when the NetCipher-enhanced connection is ready
for use.
|
void |
onConnectionException(java.lang.Exception e)
Called if we tried to connect through to Orbot but failed
for some reason
|
void |
onInvalid()
Called if you requested validation that we are connecting
through Tor, and while we were able to connect to Orbot, that
validation failed.
|
void |
onTimeout()
Called if our attempt to get a status from Orbot failed
after a defined period of time.
|
void onConnected(C connection)
connection
- the connectionvoid onConnectionException(java.lang.Exception e)
e
- the reasonvoid onTimeout()
void onInvalid()