Add server data class #7
1 changed files with 13 additions and 0 deletions
|
@ -0,0 +1,13 @@
|
|||
enum ServerStatus{
|
||||
unknown, timeout, responding, dnserror
|
||||
}
|
||||
|
||||
class Server {
|
||||
String uri;
|
||||
String displayName;
|
||||
ServerStatus status;
|
||||
|
||||
Server(this.uri, this.displayName);
|
||||
|
||||
|
||||
}
|
Loading…
Reference in a new issue