diff --git a/build/built-jar.properties b/build/built-jar.properties index 13680d0..a39dd46 100644 --- a/build/built-jar.properties +++ b/build/built-jar.properties @@ -1,4 +1,4 @@ -#Fri, 10 Aug 2018 22:26:22 +0430 +#Thu, 16 Aug 2018 16:40:48 +0430 D\:\\Projects\\Temp\\SocketInVBAndJava\\JavaSide= diff --git a/build/classes/.netbeans_automatic_build b/build/classes/.netbeans_automatic_build new file mode 100644 index 0000000..e69de29 diff --git a/build/classes/.netbeans_update_resources b/build/classes/.netbeans_update_resources new file mode 100644 index 0000000..e69de29 diff --git a/build/classes/javaside/JavaSide$1.class b/build/classes/javaside/JavaSide$1.class index 76b04de..ed843af 100644 Binary files a/build/classes/javaside/JavaSide$1.class and b/build/classes/javaside/JavaSide$1.class differ diff --git a/build/classes/javaside/JavaSide$2.class b/build/classes/javaside/JavaSide$2.class index c479184..84d3a0a 100644 Binary files a/build/classes/javaside/JavaSide$2.class and b/build/classes/javaside/JavaSide$2.class differ diff --git a/build/classes/javaside/JavaSide.class b/build/classes/javaside/JavaSide.class index 7d95468..a1b7ad5 100644 Binary files a/build/classes/javaside/JavaSide.class and b/build/classes/javaside/JavaSide.class differ diff --git a/build/classes/javaside/Socket/TcpClient$1.class b/build/classes/javaside/Socket/TcpClient$1.class index beeb809..8b32057 100644 Binary files a/build/classes/javaside/Socket/TcpClient$1.class and b/build/classes/javaside/Socket/TcpClient$1.class differ diff --git a/build/classes/javaside/Socket/TcpClient.class b/build/classes/javaside/Socket/TcpClient.class index 6047d5f..8aab408 100644 Binary files a/build/classes/javaside/Socket/TcpClient.class and b/build/classes/javaside/Socket/TcpClient.class differ diff --git a/build/classes/javaside/Socket/TcpClientEventHandler.class b/build/classes/javaside/Socket/TcpClientEventHandler.class index 032b5e8..fccc0b1 100644 Binary files a/build/classes/javaside/Socket/TcpClientEventHandler.class and b/build/classes/javaside/Socket/TcpClientEventHandler.class differ diff --git a/build/classes/javaside/Socket/TcpServer$1.class b/build/classes/javaside/Socket/TcpServer$1.class index 872b32f..38eaed0 100644 Binary files a/build/classes/javaside/Socket/TcpServer$1.class and b/build/classes/javaside/Socket/TcpServer$1.class differ diff --git a/build/classes/javaside/Socket/TcpServer.class b/build/classes/javaside/Socket/TcpServer.class index 56c7af6..22727d6 100644 Binary files a/build/classes/javaside/Socket/TcpServer.class and b/build/classes/javaside/Socket/TcpServer.class differ diff --git a/build/classes/javaside/Socket/TcpServerEventHandler.class b/build/classes/javaside/Socket/TcpServerEventHandler.class index 82fa079..52fff8c 100644 Binary files a/build/classes/javaside/Socket/TcpServerEventHandler.class and b/build/classes/javaside/Socket/TcpServerEventHandler.class differ diff --git a/build/classes/org/shokai/evmsg/TcpClient$1.class b/build/classes/org/shokai/evmsg/TcpClient$1.class new file mode 100644 index 0000000..7ce53d5 Binary files /dev/null and b/build/classes/org/shokai/evmsg/TcpClient$1.class differ diff --git a/build/classes/org/shokai/evmsg/TcpServer$1$1.class b/build/classes/org/shokai/evmsg/TcpServer$1$1.class new file mode 100644 index 0000000..4b2c020 Binary files /dev/null and b/build/classes/org/shokai/evmsg/TcpServer$1$1.class differ diff --git a/build/classes/org/shokai/evmsg/TcpServer$1.class b/build/classes/org/shokai/evmsg/TcpServer$1.class new file mode 100644 index 0000000..8e929d2 Binary files /dev/null and b/build/classes/org/shokai/evmsg/TcpServer$1.class differ diff --git a/build/classes/org/shokai/evmsg/TcpServer$2.class b/build/classes/org/shokai/evmsg/TcpServer$2.class new file mode 100644 index 0000000..53a564a Binary files /dev/null and b/build/classes/org/shokai/evmsg/TcpServer$2.class differ diff --git a/dist/JavaSide.jar b/dist/JavaSide.jar index bfc2804..0b48a9b 100644 Binary files a/dist/JavaSide.jar and b/dist/JavaSide.jar differ diff --git a/src/javaside/Socket/TcpClient.java b/src/javaside/Socket/TcpClient.java index 52f1028..af95630 100644 --- a/src/javaside/Socket/TcpClient.java +++ b/src/javaside/Socket/TcpClient.java @@ -51,7 +51,16 @@ public void run(){ Thread.sleep(readInterval); String line = bReader.readLine(); - if(handler != null) handler.onMessage(line); + if(handler != null) + { if(line!=null) + { + handler.onMessage(line); + } + else + { + that.close(); + } + } } catch(SocketException ex){