aboutsummaryrefslogtreecommitdiff
path: root/src/IvyWatcher.java
diff options
context:
space:
mode:
authorjestin2006-08-01 15:52:16 +0000
committerjestin2006-08-01 15:52:16 +0000
commit21cec28549587db7e34d0ac455244fe4d73a0ed4 (patch)
tree336320cb1ad63fe7633fb57d91959dd53cec69b3 /src/IvyWatcher.java
parentd0afba319f95f0059d201c6b7cbfbc3322f2c0f6 (diff)
downloadivy-java-21cec28549587db7e34d0ac455244fe4d73a0ed4.zip
ivy-java-21cec28549587db7e34d0ac455244fe4d73a0ed4.tar.gz
ivy-java-21cec28549587db7e34d0ac455244fe4d73a0ed4.tar.bz2
ivy-java-21cec28549587db7e34d0ac455244fe4d73a0ed4.tar.xz
Changes to allow the creation of a tunnel between two (or more) ivy
bussssseeeeezzzz
Diffstat (limited to 'src/IvyWatcher.java')
-rwxr-xr-xsrc/IvyWatcher.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/IvyWatcher.java b/src/IvyWatcher.java
index 52edb4b..bf8dc3f 100755
--- a/src/IvyWatcher.java
+++ b/src/IvyWatcher.java
@@ -187,8 +187,7 @@ class IvyWatcher implements Runnable {
if (!alreadyBroadcasted(remotehost.toString(),remotePort)) {
traceDebug("no known agent originating from " + remotehost + ":" + remotePort);
try {
- Socket s = new Socket(remotehost,remotePort);
- new IvyClient(bus,s,remotePort,false);
+ bus.createIvyClient(new Socket(remotehost,remotePort),remotePort,false);
} catch ( java.net.ConnectException jnc ) {
traceDebug("cannot connect to "+remotehostname+":"+remotePort+", he probably stopped his bus");
}