Esa_Text_Input_Callback_Register()

Abstract

Registers a callback to be invoked by the Riverbed Modeler simulation when input is necessary.

Syntax

Esa_Text_Input_Callback_Register (esa_state_ptr, callback, state_ptr)
Argument Type Description
esa_state_ptr EsaT_State_Handle ESA state information generated by Esa_Init()
callback EsaT_Input_Callback_Proc function invoked by simulation kernel if input is necessary
state_ptr void * client data passed to the input callback when invoked

Return Type

EsaT_Compcode

EsaC_Comp_Success if registration successful; EsaC_Comp_Failure otherwise.

esa.h

Details

This function provides a mechanism to request input from a source different from standard input. The callback function prototype is given in EsaT_Input_Callback_Proc.

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