biskuteri-cafe-JKomasto2/RequestListener.java
Snowyfox 775faa0bcc Fixed window updater thread issue (seemingly).
Better support for multithreading.
Fixed notifications window refresh bug.
Fixed autoview window bug (temporary scrollpane doesn't reset scroll position)
2022-05-06 16:34:22 -04:00

32 lines
433 B
Java

import cafe.biskuteri.hinoki.Tree;
import java.io.IOException;
interface
RequestListener {
void
connectionFailed(IOException eIo);
void
requestFailed(int httpCode, Tree<String> json);
void
requestSucceeded(Tree<String> json);
}
interface
ServerSideEventsListener {
void
connectionFailed(IOException eIo);
void
requestFailed(int httpCode, Tree<String> json);
void
lineReceived(String line);
}