From 56d77d69763331f1cf0bd66d41582332327c6737 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=98=8A?= Date: Wed, 27 Dec 2017 13:15:27 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E6=8F=90=E4=BA=A4=E4=BF=AE=E6=94=B9"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 24dd562bbc3810d5833330399a5a750a1bd6405b. --- app/build.gradle | 2 +- server/.idea/workspace.xml | 318 +++++++++++++++--- .../libsocket/impl/AbsConnectionManager.java | 2 +- .../android/libsocket/impl/PulseManager.java | 6 +- .../libsocket/impl/blockio/io/Writer.java | 2 +- .../{sdk/bean => interfaces}/IPulse.java | 2 +- .../bean => interfaces}/IPulseSendable.java | 4 +- .../libsocket/sdk/OkSocketOptions.java | 33 +- .../libsocket/sdk/SocketActionAdapter.java | 2 +- .../connection/AbsReconnectionManager.java | 2 +- .../interfacies/ISocketActionListener.java | 2 +- .../sdk/protocol/DefaultHeaderProtocol.java | 26 -- .../sdk/protocol/NoneHeaderProtocol.java | 22 -- 13 files changed, 319 insertions(+), 104 deletions(-) rename socket/src/main/java/com/xuhao/android/libsocket/{sdk/bean => interfaces}/IPulse.java (75%) rename socket/src/main/java/com/xuhao/android/libsocket/{sdk/bean => interfaces}/IPulseSendable.java (53%) delete mode 100644 socket/src/main/java/com/xuhao/android/libsocket/sdk/protocol/DefaultHeaderProtocol.java delete mode 100644 socket/src/main/java/com/xuhao/android/libsocket/sdk/protocol/NoneHeaderProtocol.java diff --git a/app/build.gradle b/app/build.gradle index 11758bf..51b6a6a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -27,5 +27,5 @@ dependencies { compile 'com.android.support:appcompat-v7:26.1.0' compile 'com.android.support:design:26.1.0' compile 'com.google.code.gson:gson:2.8.0' - compile 'com.tonystark.android:socket:1.0.1' + compile project(':socket') } diff --git a/server/.idea/workspace.xml b/server/.idea/workspace.xml index cf21b83..624fca9 100644 --- a/server/.idea/workspace.xml +++ b/server/.idea/workspace.xml @@ -17,10 +17,88 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -48,8 +126,8 @@ - @@ -68,10 +146,7 @@ - - - @@ -118,13 +193,15 @@