Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
用于执行模拟客户端完成重放时所需的任何操作;每个模拟客户端以及每次重复调用一次。
_MLREPLAY_EXPORT bool _MLREPLAY_CDECL ReportEndOfReplay( asa_uint32 repetitionNum, asa_uint32 simulatedClientNum, bool success, const IMLReplayAPICallbacks * mlrAPICallbacks )
repetitionNum 当前重复数。
simulatedClientNum 用于区别此模拟客户端与相同 mlreplay 实例中其它模拟客户端的模拟客户端号(顺序为 1)。
success 模拟客户端成功完成时为 true;否则为 false。
mlrAPICallbacks 回调以提供来自 mlreplay 的信息,该信息可用于自定义重放行为。
成功时为 true;错误时为 false。
可以通过此回调确保数据重复 X 次正确上载。
此回调决定指定重放的结果。如果成功时为 false,则此回调对重放的成功执行没有任何影响。如果成功时为 true,但此回调返回 false,则 mlreplay 将模拟客户端视为在指定重复期间发生失败。可同时调用此回调。