aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--AndroidAsync/src/com/koushikdutta/async/http/socketio/SocketIOClient.java16
1 files changed, 0 insertions, 16 deletions
diff --git a/AndroidAsync/src/com/koushikdutta/async/http/socketio/SocketIOClient.java b/AndroidAsync/src/com/koushikdutta/async/http/socketio/SocketIOClient.java
index 5db6381..344aab8 100644
--- a/AndroidAsync/src/com/koushikdutta/async/http/socketio/SocketIOClient.java
+++ b/AndroidAsync/src/com/koushikdutta/async/http/socketio/SocketIOClient.java
@@ -16,22 +16,6 @@ public class SocketIOClient extends EventEmitter {
boolean connected;
boolean disconnected;
- private static void reportError(SimpleFuture<SocketIOClient> future, Handler handler, final ConnectCallback callback, final Exception e) {
- if (!future.setComplete(e))
- return;
- if (handler != null) {
- AsyncServer.post(handler, new Runnable() {
- @Override
- public void run() {
- callback.onConnectCompleted(e, null);
- }
- });
- }
- else {
- callback.onConnectCompleted(e, null);
- }
- }
-
private void emitRaw(int type, String message, Acknowledge acknowledge) {
connection.emitRaw(type, this, message, acknowledge);
}