Skip to content

Commit acc3552

Browse files
committed
Renamed method onJSONMessage to onJSON
1 parent fbd83b5 commit acc3552

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/com/codebutler/android_websockets/SocketIOClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public static interface Handler {
2828

2929
public void onDisconnect(int code, String reason);
3030

31-
public void onJSONMessage(JSONObject jsonMessage);
31+
public void onJSON(JSONObject json);
3232

3333
public void onMessage(String message);
3434

@@ -173,7 +173,7 @@ public void run() {
173173
}
174174
});
175175
}
176-
mHandler.onJSONMessage(jsonMessage);
176+
mHandler.onJSON(jsonMessage);
177177
break;
178178
}
179179
case 5: {

0 commit comments

Comments
 (0)