Package io.objectbox.sync
Class SyncClientImpl.InternalSyncClientListener
- java.lang.Object
-
- io.objectbox.sync.SyncClientImpl.InternalSyncClientListener
-
- Enclosing class:
- SyncClientImpl
private class SyncClientImpl.InternalSyncClientListener extends java.lang.ObjectMethods on this class must match those expected by JNI implementation.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.concurrent.CountDownLatchfirstLoginLatch
-
Constructor Summary
Constructors Modifier Constructor Description privateInternalSyncClientListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) booleanawaitFirstLogin(long millisToWait)voidonDisconnect()voidonLogin()voidonLoginFailure(long errorCode)voidonServerTimeUpdate(long serverTimeNanos)voidonSyncComplete()
-
-
-
Method Detail
-
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)
-
-