Skip to content
Snippets Groups Projects
Commit 891d3cf9 authored by Koen J's avatar Koen J
Browse files

Added debug message.

parent 561d5ec7
No related branches found
No related tags found
No related merge requests found
...@@ -300,6 +300,8 @@ class SyncSocketSession { ...@@ -300,6 +300,8 @@ class SyncSocketSession {
} }
private fun handlePacket(opcode: UByte, subOpcode: UByte, data: ByteBuffer) { private fun handlePacket(opcode: UByte, subOpcode: UByte, data: ByteBuffer) {
Logger.i(TAG, "Handle packet (opcode = ${opcode}, subOpcode = ${subOpcode})")
when (opcode) { when (opcode) {
Opcode.PING.value -> { Opcode.PING.value -> {
send(Opcode.PONG.value) send(Opcode.PONG.value)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment