[6.2.0]录包工具改版
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package com.mogo.eagle.core.function.call.devatools
|
||||
|
||||
import com.mogo.eagle.core.data.deva.badcase.AiDataEntity
|
||||
import com.mogo.eagle.core.data.deva.badcase.RecordOptionEntity
|
||||
import com.mogo.eagle.core.function.api.devatools.badcase.BadCaseNetListener
|
||||
import com.mogo.eagle.core.function.call.base.CallerBase
|
||||
|
||||
@@ -16,4 +17,24 @@ object CallerDevaToolsNetManager: CallerBase<BadCaseNetListener>() {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 主动录包数据回调
|
||||
*/
|
||||
fun invokeInitiativeResponse(list: List<RecordOptionEntity>){
|
||||
M_LISTENERS.forEach{
|
||||
val listener = it.value
|
||||
listener.onInitiativeResponse(list)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 被动录包数据回调
|
||||
*/
|
||||
fun invokePassiveResponse(list: List<RecordOptionEntity>){
|
||||
M_LISTENERS.forEach{
|
||||
val listener = it.value
|
||||
listener.onPassiveResponse(list)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user