Commit 606d9618 authored by Daniel Wolf's avatar Daniel Wolf
Browse files

As DNSServerSetting is a Singleton now whether the respective Server is...

As DNSServerSetting is a Singleton now whether the respective Server is running can be saved in the instance corresponding to it
parent 8190c8b3
......@@ -53,6 +53,9 @@ public class DNSServerSetting extends SingletonEntity implements Serializable{
@Named(name = "UDP")
private boolean udp = true;
@Ignore
private boolean serverRunning;
public DNSServerSetting(){
}
......@@ -69,9 +72,12 @@ public class DNSServerSetting extends SingletonEntity implements Serializable{
this.resolveLocal = resolveLocal;
}
public boolean isServerRunning(Context context){
//TODO
return false;
public boolean isServerRunning(){
return serverRunning;
}
public void setServerRunning(boolean serverRunning) {
this.serverRunning = serverRunning;
}
@Ignore
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment