aboutsummaryrefslogtreecommitdiffstats
path: root/.classpath
diff options
context:
space:
mode:
authorKostya <mail@sartin.in>2026-10-13 10:42:15 +0300
committerKostya <mail@sartin.in>2026-10-13 10:42:40 +0300
commita8bc9dce528abb6340315f7daa61ad76be4a8739 (patch)
tree23395c6cc47adc04419ff7591f4e1b095329cd1a /.classpath
parentafefb6d1c4099fbedef39de5fc0cebabe44895fc (diff)
downloadguess-market-a8bc9dce528abb6340315f7daa61ad76be4a8739.tar.gz
guess-market-a8bc9dce528abb6340315f7daa61ad76be4a8739.tar.xz
guess-market-a8bc9dce528abb6340315f7daa61ad76be4a8739.zip
ui-client: add desktop client that talks to the server
New module for the Ex3 desktop app. It reuses the ui-fx views and depends on the api only, never on the engine. ServerClient owns the OkHttp session and the last snapshot pulled from /api/sync. RemoteCatalogContext, RemoteGuessMarketContext and RemoteAccountContext implement the api interfaces on top of it: reads are answered from the snapshot, so AppState never waits on the network, and writes go over HTTP and pull a fresh snapshot before returning. A daemon thread polls once a second with blocking calls and refreshes AppState through Platform.runLater only when the server's version moved. AppState reselects the event and user by id, so a refresh keeps the selection. Server and user name come from --server= and --user= until the login screen exists.
Diffstat (limited to '.classpath')
0 files changed, 0 insertions, 0 deletions