Esa_Interrupt()

Abstract

Flags the event loop to return once the current event is completed

Syntax

Esa_Interrupt (esa_state_ptr)
Argument Type Description
esa_state_ptr EsaT_State_Handle ESA state information generated by Esa_Init()

Return Type

void

no return value

esa.h

Details

This function interrupts the execution of events to let a cosimulation deal with an interface change.

The Riverbed Modeler simulation can execute an arbitrary set of events depending on how it is invoked with Esa_Execute_Until(). If this function is invoked, the execution will stop and Esa_Execute_Until() will return with a status of ESAC_STATUS_EXTERNAL.

This would typically be used inside an interface callback to stop the processing of events and let the cosimulation portion handle the interface change.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com