Package io.objectbox.sync
Class SyncClientImpl.InternalSyncClientListener
java.lang.Object
io.objectbox.sync.SyncClientImpl.InternalSyncClientListener
- Enclosing class:
SyncClientImpl
Methods on this class must match those expected by JNI implementation.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) booleanawaitFirstLogin(long millisToWait) voidvoidonLogin()voidonLoginFailure(long errorCode) voidonServerTimeUpdate(long serverTimeNanos) void
-
Field Details
-
firstLoginLatch
-
-
Constructor Details
-
InternalSyncClientListener
private InternalSyncClientListener()
-
-
Method Details
-
onLogin
public void onLogin() -
onLoginFailure
public void onLoginFailure(long errorCode) -
onSyncComplete
public void onSyncComplete() -
onServerTimeUpdate
public void onServerTimeUpdate(long serverTimeNanos) -
onDisconnect
public void onDisconnect() -
awaitFirstLogin
boolean awaitFirstLogin(long millisToWait)
-