Package io.ably.lib.transport
Class NetworkConnectivity
java.lang.Object
io.ably.lib.transport.NetworkConnectivity
- Direct Known Subclasses:
-
NetworkConnectivity.DefaultNetworkConnectivity
,NetworkConnectivity.DelegatedNetworkConnectivity
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static interface
-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
protected boolean
isEmpty()
protected void
protected void
notifyNetworkUnavailable
(ErrorInfo reason) protected void
onEmpty()
protected void
void
-
Field Details
-
listeners
-
-
Constructor Details
-
NetworkConnectivity
public NetworkConnectivity()
-
-
Method Details
-
addListener
-
removeListener
-
notifyNetworkAvailable
protected void notifyNetworkAvailable() -
isEmpty
protected boolean isEmpty() -
onEmpty
protected void onEmpty() -
onNonempty
protected void onNonempty()
-