Method
getState
(@NotNull String account, @NotNull String clientId)
Source from the content-addressed store, hash-verified
| 283 | } |
| 284 | |
| 285 | public int getState(@NotNull String account, @NotNull String clientId) { |
| 286 | var onlines = getOnline(account); |
| 287 | if (onlines == null) |
| 288 | return eOffline; |
| 289 | var login = onlines.getLogins().get(clientId); |
| 290 | return login != null ? login.getLink().getState() : eOffline; |
| 291 | } |
| 292 | |
| 293 | public int getLocalCount() { |
| 294 | return _tlocal.getCacheSize(); |
Callers
nothing calls this directly
Tested by
no test coverage detected