diff --git a/.classpath b/.classpath
index 57f12cc..ad5add2 100644
--- a/.classpath
+++ b/.classpath
@@ -1,11 +1,32 @@
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
+
+
diff --git a/.gitignore b/.gitignore
index d1b29c6..3759133 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,4 @@
bin/
jar/
+/target/
+/.DS_Store
diff --git a/.project b/.project
index 387ef0f..c5a2199 100644
--- a/.project
+++ b/.project
@@ -20,8 +20,14 @@
+
+ org.eclipse.m2e.core.maven2Builder
+
+
+
+ org.eclipse.m2e.core.maven2Nature
org.eclipse.jdt.core.javanature
diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs
index 26eac30..107056a 100644
--- a/.settings/org.eclipse.jdt.core.prefs
+++ b/.settings/org.eclipse.jdt.core.prefs
@@ -1,4 +1,3 @@
-#Thu Dec 22 15:57:36 CET 2011
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
@@ -9,4 +8,5 @@ org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.source=1.6
diff --git a/.settings/org.eclipse.m2e.core.prefs b/.settings/org.eclipse.m2e.core.prefs
new file mode 100644
index 0000000..f897a7f
--- /dev/null
+++ b/.settings/org.eclipse.m2e.core.prefs
@@ -0,0 +1,4 @@
+activeProfiles=
+eclipse.preferences.version=1
+resolveWorkspaceProjects=true
+version=1
diff --git a/LICENSE b/LICENSE
old mode 100644
new mode 100755
diff --git a/README.markdown b/README.markdown
old mode 100644
new mode 100755
index f946202..cdbfc17
--- a/README.markdown
+++ b/README.markdown
@@ -1,3 +1,10 @@
+I forked this from "Gottox/socket.io-java-client":
+The only thing I did is to **mavenize the whole project** and get rid of the lib folder.
+
+So all other stuff was not touched.
+
+---
+
[![Flattr this git repo](http://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=Gottox&url=https://github.com/Gottox/socket.io-java-client&title=socket.io-java-client&language=&tags=github&category=software)
# Socket.IO-Client for Java
diff --git a/build.xml b/build.xml
old mode 100644
new mode 100755
diff --git a/doc/AcknowledgeExample.html b/doc/AcknowledgeExample.html
old mode 100644
new mode 100755
diff --git a/doc/BasicExample.html b/doc/BasicExample.html
old mode 100644
new mode 100755
diff --git a/doc/BasicExample2.html b/doc/BasicExample2.html
old mode 100644
new mode 100755
diff --git a/doc/Example.html b/doc/Example.html
old mode 100644
new mode 100755
diff --git a/doc/Test.html b/doc/Test.html
old mode 100644
new mode 100755
diff --git a/doc/allclasses-frame.html b/doc/allclasses-frame.html
old mode 100644
new mode 100755
diff --git a/doc/allclasses-noframe.html b/doc/allclasses-noframe.html
old mode 100644
new mode 100755
diff --git a/doc/basic/AcknowledgeExample.html b/doc/basic/AcknowledgeExample.html
old mode 100644
new mode 100755
diff --git a/doc/basic/BasicExample.html b/doc/basic/BasicExample.html
old mode 100644
new mode 100755
diff --git a/doc/basic/BasicExample2.html b/doc/basic/BasicExample2.html
old mode 100644
new mode 100755
diff --git a/doc/basic/class-use/AcknowledgeExample.html b/doc/basic/class-use/AcknowledgeExample.html
old mode 100644
new mode 100755
diff --git a/doc/basic/class-use/BasicExample.html b/doc/basic/class-use/BasicExample.html
old mode 100644
new mode 100755
diff --git a/doc/basic/class-use/BasicExample2.html b/doc/basic/class-use/BasicExample2.html
old mode 100644
new mode 100755
diff --git a/doc/basic/package-frame.html b/doc/basic/package-frame.html
old mode 100644
new mode 100755
diff --git a/doc/basic/package-summary.html b/doc/basic/package-summary.html
old mode 100644
new mode 100755
diff --git a/doc/basic/package-tree.html b/doc/basic/package-tree.html
old mode 100644
new mode 100755
diff --git a/doc/basic/package-use.html b/doc/basic/package-use.html
old mode 100644
new mode 100755
diff --git a/doc/chat/Chat.html b/doc/chat/Chat.html
old mode 100644
new mode 100755
diff --git a/doc/chat/ChatCallback.html b/doc/chat/ChatCallback.html
old mode 100644
new mode 100755
diff --git a/doc/chat/ChatCallbackAdapter.html b/doc/chat/ChatCallbackAdapter.html
old mode 100644
new mode 100755
diff --git a/doc/chat/ChatFrame.html b/doc/chat/ChatFrame.html
old mode 100644
new mode 100755
diff --git a/doc/chat/class-use/Chat.html b/doc/chat/class-use/Chat.html
old mode 100644
new mode 100755
diff --git a/doc/chat/class-use/ChatCallback.html b/doc/chat/class-use/ChatCallback.html
old mode 100644
new mode 100755
diff --git a/doc/chat/class-use/ChatCallbackAdapter.html b/doc/chat/class-use/ChatCallbackAdapter.html
old mode 100644
new mode 100755
diff --git a/doc/chat/class-use/ChatFrame.html b/doc/chat/class-use/ChatFrame.html
old mode 100644
new mode 100755
diff --git a/doc/chat/package-frame.html b/doc/chat/package-frame.html
old mode 100644
new mode 100755
diff --git a/doc/chat/package-summary.html b/doc/chat/package-summary.html
old mode 100644
new mode 100755
diff --git a/doc/chat/package-tree.html b/doc/chat/package-tree.html
old mode 100644
new mode 100755
diff --git a/doc/chat/package-use.html b/doc/chat/package-use.html
old mode 100644
new mode 100755
diff --git a/doc/class-use/AcknowledgeExample.html b/doc/class-use/AcknowledgeExample.html
old mode 100644
new mode 100755
diff --git a/doc/class-use/BasicExample.html b/doc/class-use/BasicExample.html
old mode 100644
new mode 100755
diff --git a/doc/class-use/BasicExample2.html b/doc/class-use/BasicExample2.html
old mode 100644
new mode 100755
diff --git a/doc/class-use/Example.html b/doc/class-use/Example.html
old mode 100644
new mode 100755
diff --git a/doc/class-use/Test.html b/doc/class-use/Test.html
old mode 100644
new mode 100755
diff --git a/doc/constant-values.html b/doc/constant-values.html
old mode 100644
new mode 100755
diff --git a/doc/deprecated-list.html b/doc/deprecated-list.html
old mode 100644
new mode 100755
diff --git a/doc/help-doc.html b/doc/help-doc.html
old mode 100644
new mode 100755
diff --git a/doc/index-files/index-1.html b/doc/index-files/index-1.html
old mode 100644
new mode 100755
diff --git a/doc/index-files/index-10.html b/doc/index-files/index-10.html
old mode 100644
new mode 100755
diff --git a/doc/index-files/index-11.html b/doc/index-files/index-11.html
old mode 100644
new mode 100755
diff --git a/doc/index-files/index-12.html b/doc/index-files/index-12.html
old mode 100644
new mode 100755
diff --git a/doc/index-files/index-13.html b/doc/index-files/index-13.html
old mode 100644
new mode 100755
diff --git a/doc/index-files/index-14.html b/doc/index-files/index-14.html
old mode 100644
new mode 100755
diff --git a/doc/index-files/index-15.html b/doc/index-files/index-15.html
old mode 100644
new mode 100755
diff --git a/doc/index-files/index-16.html b/doc/index-files/index-16.html
old mode 100644
new mode 100755
diff --git a/doc/index-files/index-17.html b/doc/index-files/index-17.html
old mode 100644
new mode 100755
diff --git a/doc/index-files/index-18.html b/doc/index-files/index-18.html
old mode 100644
new mode 100755
diff --git a/doc/index-files/index-19.html b/doc/index-files/index-19.html
old mode 100644
new mode 100755
diff --git a/doc/index-files/index-2.html b/doc/index-files/index-2.html
old mode 100644
new mode 100755
diff --git a/doc/index-files/index-20.html b/doc/index-files/index-20.html
old mode 100644
new mode 100755
diff --git a/doc/index-files/index-21.html b/doc/index-files/index-21.html
old mode 100644
new mode 100755
diff --git a/doc/index-files/index-3.html b/doc/index-files/index-3.html
old mode 100644
new mode 100755
diff --git a/doc/index-files/index-4.html b/doc/index-files/index-4.html
old mode 100644
new mode 100755
diff --git a/doc/index-files/index-5.html b/doc/index-files/index-5.html
old mode 100644
new mode 100755
diff --git a/doc/index-files/index-6.html b/doc/index-files/index-6.html
old mode 100644
new mode 100755
diff --git a/doc/index-files/index-7.html b/doc/index-files/index-7.html
old mode 100644
new mode 100755
diff --git a/doc/index-files/index-8.html b/doc/index-files/index-8.html
old mode 100644
new mode 100755
diff --git a/doc/index-files/index-9.html b/doc/index-files/index-9.html
old mode 100644
new mode 100755
diff --git a/doc/index.html b/doc/index.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/AbstractTestSocketIO.html b/doc/io/socket/AbstractTestSocketIO.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/AllTests.html b/doc/io/socket/AllTests.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/IOAcknowledge.html b/doc/io/socket/IOAcknowledge.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/IOCallback.html b/doc/io/socket/IOCallback.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/IOConnection.html b/doc/io/socket/IOConnection.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/IOMessage.html b/doc/io/socket/IOMessage.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/IOTransport.html b/doc/io/socket/IOTransport.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/SocketIO.html b/doc/io/socket/SocketIO.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/SocketIOException.html b/doc/io/socket/SocketIOException.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/WebsocketTestSocketIO.html b/doc/io/socket/WebsocketTestSocketIO.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/WebsocketTransport.html b/doc/io/socket/WebsocketTransport.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/XHRTestSocketIO.html b/doc/io/socket/XHRTestSocketIO.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/XhrTransport.html b/doc/io/socket/XhrTransport.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/class-use/AbstractTestSocketIO.html b/doc/io/socket/class-use/AbstractTestSocketIO.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/class-use/AllTests.html b/doc/io/socket/class-use/AllTests.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/class-use/IOAcknowledge.html b/doc/io/socket/class-use/IOAcknowledge.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/class-use/IOCallback.html b/doc/io/socket/class-use/IOCallback.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/class-use/IOConnection.html b/doc/io/socket/class-use/IOConnection.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/class-use/IOMessage.html b/doc/io/socket/class-use/IOMessage.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/class-use/IOTransport.html b/doc/io/socket/class-use/IOTransport.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/class-use/SocketIO.html b/doc/io/socket/class-use/SocketIO.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/class-use/SocketIOException.html b/doc/io/socket/class-use/SocketIOException.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/class-use/WebsocketTestSocketIO.html b/doc/io/socket/class-use/WebsocketTestSocketIO.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/class-use/WebsocketTransport.html b/doc/io/socket/class-use/WebsocketTransport.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/class-use/XHRTestSocketIO.html b/doc/io/socket/class-use/XHRTestSocketIO.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/class-use/XhrTransport.html b/doc/io/socket/class-use/XhrTransport.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/package-frame.html b/doc/io/socket/package-frame.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/package-summary.html b/doc/io/socket/package-summary.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/package-tree.html b/doc/io/socket/package-tree.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/package-use.html b/doc/io/socket/package-use.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/testutils/MutateProxy.html b/doc/io/socket/testutils/MutateProxy.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/testutils/RandomBlockJUnit4ClassRunner.html b/doc/io/socket/testutils/RandomBlockJUnit4ClassRunner.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/testutils/class-use/MutateProxy.html b/doc/io/socket/testutils/class-use/MutateProxy.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/testutils/class-use/RandomBlockJUnit4ClassRunner.html b/doc/io/socket/testutils/class-use/RandomBlockJUnit4ClassRunner.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/testutils/package-frame.html b/doc/io/socket/testutils/package-frame.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/testutils/package-summary.html b/doc/io/socket/testutils/package-summary.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/testutils/package-tree.html b/doc/io/socket/testutils/package-tree.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/testutils/package-use.html b/doc/io/socket/testutils/package-use.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/transports/WebsocketTransport.html b/doc/io/socket/transports/WebsocketTransport.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/transports/XhrTransport.html b/doc/io/socket/transports/XhrTransport.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/transports/class-use/WebsocketTransport.html b/doc/io/socket/transports/class-use/WebsocketTransport.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/transports/class-use/XhrTransport.html b/doc/io/socket/transports/class-use/XhrTransport.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/transports/package-frame.html b/doc/io/socket/transports/package-frame.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/transports/package-summary.html b/doc/io/socket/transports/package-summary.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/transports/package-tree.html b/doc/io/socket/transports/package-tree.html
old mode 100644
new mode 100755
diff --git a/doc/io/socket/transports/package-use.html b/doc/io/socket/transports/package-use.html
old mode 100644
new mode 100755
diff --git a/doc/overview-frame.html b/doc/overview-frame.html
old mode 100644
new mode 100755
diff --git a/doc/overview-summary.html b/doc/overview-summary.html
old mode 100644
new mode 100755
diff --git a/doc/overview-tree.html b/doc/overview-tree.html
old mode 100644
new mode 100755
diff --git a/doc/package-frame.html b/doc/package-frame.html
old mode 100644
new mode 100755
diff --git a/doc/package-list b/doc/package-list
old mode 100644
new mode 100755
diff --git a/doc/package-summary.html b/doc/package-summary.html
old mode 100644
new mode 100755
diff --git a/doc/package-tree.html b/doc/package-tree.html
old mode 100644
new mode 100755
diff --git a/doc/package-use.html b/doc/package-use.html
old mode 100644
new mode 100755
diff --git a/doc/resources/inherit.gif b/doc/resources/inherit.gif
old mode 100644
new mode 100755
diff --git a/doc/schema.png b/doc/schema.png
old mode 100644
new mode 100755
diff --git a/doc/serialized-form.html b/doc/serialized-form.html
old mode 100644
new mode 100755
diff --git a/doc/stylesheet.css b/doc/stylesheet.css
old mode 100644
new mode 100755
diff --git a/examples/basic/AcknowledgeExample.java b/examples/basic/AcknowledgeExample.java
old mode 100644
new mode 100755
diff --git a/examples/basic/BasicExample.java b/examples/basic/BasicExample.java
old mode 100644
new mode 100755
diff --git a/examples/basic/BasicExample2.java b/examples/basic/BasicExample2.java
old mode 100644
new mode 100755
diff --git a/examples/chat/Chat.java b/examples/chat/Chat.java
old mode 100644
new mode 100755
diff --git a/examples/chat/ChatCallback.java b/examples/chat/ChatCallback.java
old mode 100644
new mode 100755
diff --git a/examples/chat/ChatCallbackAdapter.java b/examples/chat/ChatCallbackAdapter.java
old mode 100644
new mode 100755
diff --git a/examples/chat/ChatFrame.form b/examples/chat/ChatFrame.form
old mode 100644
new mode 100755
diff --git a/examples/chat/ChatFrame.java b/examples/chat/ChatFrame.java
old mode 100644
new mode 100755
diff --git a/examples/chat/server.js b/examples/chat/server.js
old mode 100644
new mode 100755
diff --git a/libs/WebSocket.jar b/libs/WebSocket.jar
deleted file mode 100644
index ef36379..0000000
Binary files a/libs/WebSocket.jar and /dev/null differ
diff --git a/libs/json-org.jar b/libs/json-org.jar
deleted file mode 100644
index 3e53d2e..0000000
Binary files a/libs/json-org.jar and /dev/null differ
diff --git a/pom.xml b/pom.xml
new file mode 100755
index 0000000..0e47898
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,53 @@
+
+ 4.0.0
+ socket.io-java-client
+ socket.io-java-client
+ 1.0.0
+
+ src
+ tests
+
+
+ examples
+
+ **/*.java
+
+
+
+
+
+ tests
+
+ **/*.java
+
+
+
+
+
+ maven-compiler-plugin
+ 3.3
+
+
+ 1.6
+
+
+
+
+
+
+ org.json
+ json
+ 20131018
+
+
+ junit
+ junit
+ 4.11
+
+
+ org.java-websocket
+ Java-WebSocket
+ 1.3.0
+
+
+
\ No newline at end of file
diff --git a/src/io/socket/IOAcknowledge.java b/src/io/socket/IOAcknowledge.java
old mode 100644
new mode 100755
diff --git a/src/io/socket/IOCallback.java b/src/io/socket/IOCallback.java
old mode 100644
new mode 100755
diff --git a/src/io/socket/IOCallbackAdapter.java b/src/io/socket/IOCallbackAdapter.java
new file mode 100755
index 0000000..b88d954
--- /dev/null
+++ b/src/io/socket/IOCallbackAdapter.java
@@ -0,0 +1,31 @@
+package io.socket;
+
+import org.json.JSONObject;
+
+public class IOCallbackAdapter implements IOCallback {
+
+ @Override
+ public void onDisconnect() {
+ }
+
+ @Override
+ public void onConnect() {
+ }
+
+ @Override
+ public void onMessage(String data, IOAcknowledge ack) {
+ }
+
+ @Override
+ public void onMessage(JSONObject json, IOAcknowledge ack) {
+ }
+
+ @Override
+ public void on(String event, IOAcknowledge ack, Object... args) {
+ }
+
+ @Override
+ public void onError(SocketIOException socketIOException) {
+ }
+
+}
diff --git a/src/io/socket/IOConnection.java b/src/io/socket/IOConnection.java
old mode 100644
new mode 100755
index 0febf78..c30757f
--- a/src/io/socket/IOConnection.java
+++ b/src/io/socket/IOConnection.java
@@ -25,9 +25,9 @@
import java.util.TimerTask;
import java.util.concurrent.ConcurrentLinkedQueue;
import java.util.logging.Logger;
+
import javax.net.ssl.HttpsURLConnection;
import javax.net.ssl.SSLContext;
-import javax.net.ssl.SSLSocketFactory;
import org.json.JSONArray;
import org.json.JSONException;
@@ -37,6 +37,7 @@
* The Class IOConnection.
*/
class IOConnection implements IOCallback {
+
/** Debug logger */
static final Logger logger = Logger.getLogger("io.socket");
@@ -431,7 +432,6 @@ private synchronized void cleanup() {
else
connections.remove(urlStr);
}
- logger.info("Cleanup");
backgroundTimer.cancel();
}
@@ -457,10 +457,8 @@ private void error(SocketIOException e) {
private synchronized void sendPlain(String text) {
if (getState() == STATE_READY)
try {
- logger.info("> " + text);
transport.send(text);
} catch (Exception e) {
- logger.info("IOEx: saving");
outputBuffer.add(text);
}
else {
@@ -527,15 +525,8 @@ public synchronized void transportConnected() {
ConcurrentLinkedQueue outputBuffer = this.outputBuffer;
this.outputBuffer = new ConcurrentLinkedQueue();
try {
- // DEBUG
String[] texts = outputBuffer.toArray(new String[outputBuffer
.size()]);
- logger.info("Bulk start:");
- for (String text : texts) {
- logger.info("> " + text);
- }
- logger.info("Bulk end");
- // DEBUG END
transport.sendBulk(texts);
} catch (IOException e) {
this.outputBuffer = outputBuffer;
@@ -610,7 +601,6 @@ public void transportData(String text) {
* the text
*/
public void transportMessage(String text) {
- logger.info("< " + text);
IOMessage message;
try {
message = new IOMessage(text);
diff --git a/src/io/socket/IOMessage.java b/src/io/socket/IOMessage.java
old mode 100644
new mode 100755
diff --git a/src/io/socket/IOTransport.java b/src/io/socket/IOTransport.java
old mode 100644
new mode 100755
diff --git a/src/io/socket/SocketIO.java b/src/io/socket/SocketIO.java
old mode 100644
new mode 100755
index 26143b7..2eff938
--- a/src/io/socket/SocketIO.java
+++ b/src/io/socket/SocketIO.java
@@ -13,7 +13,6 @@
import java.util.Properties;
import javax.net.ssl.SSLContext;
-import javax.net.ssl.SSLSocketFactory;
import org.json.JSONObject;
diff --git a/src/io/socket/SocketIOException.java b/src/io/socket/SocketIOException.java
old mode 100644
new mode 100755
diff --git a/src/io/socket/WebsocketTransport.java b/src/io/socket/WebsocketTransport.java
old mode 100644
new mode 100755
index 0ec9bee..9980876
--- a/src/io/socket/WebsocketTransport.java
+++ b/src/io/socket/WebsocketTransport.java
@@ -6,7 +6,6 @@
import java.util.regex.Pattern;
import javax.net.ssl.SSLContext;
-import javax.net.ssl.SSLSocketFactory;
import org.java_websocket.client.DefaultSSLWebSocketClientFactory;
import org.java_websocket.client.WebSocketClient;
diff --git a/src/io/socket/XhrTransport.java b/src/io/socket/XhrTransport.java
old mode 100644
new mode 100755
diff --git a/tests/io/socket/AbstractTestSocketIO.java b/tests/io/socket/AbstractTestSocketIO.java
old mode 100644
new mode 100755
diff --git a/tests/io/socket/AllTests.java b/tests/io/socket/AllTests.java
old mode 100644
new mode 100755
diff --git a/tests/io/socket/WebsocketTestSocketIO.java b/tests/io/socket/WebsocketTestSocketIO.java
old mode 100644
new mode 100755
diff --git a/tests/io/socket/XHRTestSocketIO.java b/tests/io/socket/XHRTestSocketIO.java
old mode 100644
new mode 100755
diff --git a/tests/io/socket/testutils/MutateProxy.java b/tests/io/socket/testutils/MutateProxy.java
old mode 100644
new mode 100755
diff --git a/tests/io/socket/testutils/RandomBlockJUnit4ClassRunner.java b/tests/io/socket/testutils/RandomBlockJUnit4ClassRunner.java
old mode 100644
new mode 100755
diff --git a/tests/io/socket/testutils/socketio.js b/tests/io/socket/testutils/socketio.js
old mode 100644
new mode 100755