onMessageReceived

abstract fun onMessageReceived(serviceConnectionId: ServiceConnectionId, data: ByteArray)

Called when a message with the specified data is received from the connection with the specified serviceConnectionId.