receive

abstract fun receive(repo: RepoV2, version: Long)

Receives the RepoV2 from the index stream. Attention: This might get called after receiving packages.


abstract fun receive(packageName: String, p: PackageV2)

Receives one PackageV2 from the index stream. This is called once for each package in the index.