diff options
author | Myth Yang <[email protected]> | 2013-08-23 10:57:32 +0800 |
---|---|---|
committer | Myth Yang <[email protected]> | 2013-08-23 10:57:32 +0800 |
commit | 0a0be038155046b0c30384224154ed55a8ef969d (patch) | |
tree | f71aadeb5dfc7857dc7077f77a673b89ab02cc2d | |
parent | c4d4831297d97ff2d0330858951579ad49884a96 (diff) |
changed
-rw-r--r-- | client/Socket-demo/Transam.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/Socket-demo/Transam.java b/client/Socket-demo/Transam.java index d809be1..6f0fb44 100644 --- a/client/Socket-demo/Transam.java +++ b/client/Socket-demo/Transam.java @@ -10,7 +10,6 @@ import android.os.Handler; import android.os.Message; public class Transam implements Runnable { - public static String outmsg = ""; public Timer timer; public boolean flag = true; public int cnt = 4; @@ -44,7 +43,7 @@ public class Transam implements Runnable { public void run() { try{ SocketClient client = new SocketClient(ip,port); - Myrespond res = client.sendMsg(req); + res = client.sendMsg(req); core.recieveInfo(res); Message msg = new Message(); msg.what = 1; @@ -65,6 +64,7 @@ public class Transam implements Runnable { flag = true; break; case 2: + res = new Myrespond(); res.wrong = msg.obj.toString(); core.recieveInfo(res); break; |