EtsT_Pj_Scenario_Event_Client_Callback

Note: Requires OPNET Development Kit

Abstract

Callback: Called when certain scenario-related client events occur.

Syntax

<scenario_event_client_callback_name> (event_type, unique_old_scenario_name, project_name, client_data)
Argument Type Description
event_type int Event type that triggered the callback; one of the scenario event codes in Table 36 Project Package Symbolic Constants.
unique_old_scenario_name const char * Pointer to the unique name of the old scenario (see Details).
project_name const char * Pointer to the project name.
client_data void * Pointer to the client data.

Return Type

void

No return value.

ets_api_pj.h

Details

This callback will be invoked when certain scenario-related events occur. The supported events are new, duplicate, delete, switch, and import.

If event_type is EtsC_Pj_Scenario_Post_Import, unique_old_scenario_name points to the name of the new scenario that was just imported.

The callback is registered by Ets_Pj_Scenario_Event_Client_Callback_Register().

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · 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