[dev_robotaxi-d_230412_2.15.0]增加订单回调+汇总消息过滤

This commit is contained in:
xuxinchao
2023-04-20 17:49:04 +08:00
parent c8de2a7622
commit a339ccfb1d
3 changed files with 63 additions and 5 deletions

View File

@@ -0,0 +1,21 @@
package com.mogo.eagle.core.function.call.order
import com.mogo.eagle.core.function.api.order.IOrderListener
import com.mogo.eagle.core.function.call.base.CallerBase
/**
* @author XuXinChao
* @date 2023/4/20
* 订单监听管理
*/
object CallerOrderListenerManager: CallerBase<IOrderListener>() {
fun invokeOrderStatus(inOrder: Boolean){
M_LISTENERS.forEach{
val tag = it.key
val listener = it.value
listener.onUpdateOrderStatus(inOrder)
}
}
}