Removed unused parameters

This commit is contained in:
Robinson 2022-06-08 00:27:03 +02:00
parent fd4eb256db
commit 27e8520eb5
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C
2 changed files with 2 additions and 2 deletions

View File

@ -510,7 +510,7 @@ internal constructor(val type: Class<*>,
// NOTE: This MUST be on a new co-routine // NOTE: This MUST be on a new co-routine
actionDispatch.launch { actionDispatch.launch {
try { try {
streamingManager.processDataMessage(message, this@EndPoint, connection) streamingManager.processDataMessage(message, this@EndPoint)
} catch (e: Exception) { } catch (e: Exception) {
logger.error("Error processing StreamingMessage", e) logger.error("Error processing StreamingMessage", e)
listenerManager.notifyError(connection, e) listenerManager.notifyError(connection, e)

View File

@ -178,7 +178,7 @@ internal class StreamingManager<CONNECTION : Connection>(private val logger: KLo
* *
* NOTE sending a huge file can prevent other other network traffic from arriving until it's done! * NOTE sending a huge file can prevent other other network traffic from arriving until it's done!
*/ */
fun processDataMessage(message: StreamingData, endPoint: EndPoint<CONNECTION>, connection: CONNECTION) { fun processDataMessage(message: StreamingData, endPoint: EndPoint<CONNECTION>) {
// the receiving data will ALWAYS come sequentially, but there might be OTHER streaming data received meanwhile. // the receiving data will ALWAYS come sequentially, but there might be OTHER streaming data received meanwhile.
val streamId = message.streamId val streamId = message.streamId