Add server data class #7

Merged
Hugo Bayer merged 1 commits from hugo/0128/server-data into master 2020-01-28 08:18:48 +00:00
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
enum ServerStatus{
unknown, timeout, responding, dnserror
}
class Server {
String uri;
String displayName;
ServerStatus status;
Server(this.uri, this.displayName);
}