AdapterWithInspection 类

public class AdapterWithInspection
extends BotFrameworkHttpAdapter

使用 InspectionMiddleware 转发消息和状态信息的 BotFrameworkHttpAdapter。

有关如何使用检查示例的详细信息,请参阅“检查”示例。

构造函数摘要

构造函数 说明
AdapterWithInspection(Configuration configuration, InspectionState inspectionState, UserState userState, ConversationState conversationState)

使用检查中间件跟踪会话状态和用户状态。

方法继承自 BotAdapter

方法继承自 BotFrameworkAdapter

方法继承自 BotFrameworkHttpAdapter

方法继承自 java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

构造函数详细信息

AdapterWithInspection

public AdapterWithInspection(Configuration configuration, InspectionState inspectionState, UserState userState, ConversationState conversationState)

使用 InspectionMiddleware 跟踪 ConversationState 和 UserState。

参数:

configuration - 配置
inspectionState - The InspectionState
userState - The UserState
conversationState - The ConversationState

适用于