projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added better anti spot-sucking
[spider.git]
/
spider-web
/
spiderclient.java
diff --git
a/spider-web/spiderclient.java
b/spider-web/spiderclient.java
index 51ddf9056cb8775cd57a08a24b1e0a72d29dba38..542844efb1d88d3006341246aa0f12d30a0c727b 100755
(executable)
--- a/
spider-web/spiderclient.java
+++ b/
spider-web/spiderclient.java
@@
-15,6
+15,9
@@
public class spiderclient extends Applet {
p = getParameter("CALL");
if (p != null) cf.setCall(p);
p = getParameter("CALL");
if (p != null) cf.setCall(p);
+ p = getParameter("PASSWORD");
+ if (p != null) cf.setPassword(p);
+
p = getParameter("FULLNAME");
if (p != null) cf.setFullname(p);
p = getParameter("FULLNAME");
if (p != null) cf.setFullname(p);
@@
-27,6
+30,9
@@
public class spiderclient extends Applet {
p = getParameter("CHANNEL");
if (p != null) cf.setChannel(p);
p = getParameter("CHANNEL");
if (p != null) cf.setChannel(p);
+ p = getParameter("NODECALL");
+ if (p != null) cf.setNodecall(p);
+
Beep = getAudioClip(getCodeBase(), "ding.au");
// cf.login();
cf.resize(655, 380);
Beep = getAudioClip(getCodeBase(), "ding.au");
// cf.login();
cf.resize(655, 380);
@@
-44,7
+50,11
@@
public class spiderclient extends Applet {
listener = new StreamListener(cf, in);
out.println(cf.getCall());
listener = new StreamListener(cf, in);
out.println(cf.getCall());
- out.println(cf.getFullname());
+
+ if(cf.getPassword().length() > 0) {
+ out.println(cf.getPassword());
+ }
+ // out.println(cf.getFullname());
}
catch (IOException e) {
InfoDialog id = new InfoDialog(cf, "Error", e.toString());
}
catch (IOException e) {
InfoDialog id = new InfoDialog(cf, "Error", e.toString());
@@
-98,10
+108,6
@@
class StreamListener extends Thread {
// schrieb nur jede 2te zeile , deswegen //
// line = in.readLine();
// schrieb nur jede 2te zeile , deswegen //
// line = in.readLine();
-
-
-
-
if (line == null) break;
cf.setText(line);
}
if (line == null) break;
cf.setText(line);
}
@@
-111,7
+117,6
@@
class StreamListener extends Thread {
cf.setText(e.toString());
cf.disconnected();
}
cf.setText(e.toString());
cf.disconnected();
}
-
finally { cf.setText("Connection closed by server."); }
}
}
finally { cf.setText("Connection closed by server."); }
}
}