|
|
|
@ -41,7 +41,6 @@ public class HttpMatchBrowserHost extends Thread {
|
|
|
|
params.add(new BasicNameValuePair("magic", "Thomas and Seng"));
|
|
|
|
params.add(new BasicNameValuePair("magic", "Thomas and Seng"));
|
|
|
|
|
|
|
|
|
|
|
|
sendHttp("http://api.umbrasheep.com/seng/registermatch/");
|
|
|
|
sendHttp("http://api.umbrasheep.com/seng/registermatch/");
|
|
|
|
System.out.println("Register Match");
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
@ -77,7 +76,6 @@ public class HttpMatchBrowserHost extends Thread {
|
|
|
|
while(!Thread.interrupted()){
|
|
|
|
while(!Thread.interrupted()){
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
sendHttp("http://api.umbrasheep.com/seng/keep_match_alive/");
|
|
|
|
sendHttp("http://api.umbrasheep.com/seng/keep_match_alive/");
|
|
|
|
System.out.println("Keep match ALive");
|
|
|
|
|
|
|
|
Thread.sleep(2000);
|
|
|
|
Thread.sleep(2000);
|
|
|
|
} catch (IOException e) {
|
|
|
|
} catch (IOException e) {
|
|
|
|
e.printStackTrace();
|
|
|
|
e.printStackTrace();
|
|
|
|
|