Warning: session_start(): open(/var/lib/php/sessions/sess_qqopcfuj19lhj4c7jts85ps4lf, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
srecord noeq ComputerCountListener(StefansOS_ConnectToServer connector) {
new VarWithNotify computerCount;
bool verbose;
void init {
connector.onNewLine(line -> {
new Matches m;
if (swic(line, "ComputerCount = ", m)) {
computerCount.set(parseInt(m.rest()));
if (verbose) print("Computer count: " + get());
}
});
connector.sub("computerCount");
};
LiveValue liveValue() { ret varWithNotifyToLiveValue(Int, computerCount); }
Int get() { ret computerCount!; }
}