EtsT_Client_State_Write_Proc

Note: Requires OPNET Development Kit

Abstract

Callback: Called when the client state needs to be written to disk with the scenario data.

Syntax

<state_write_proc_name> (state_ptr, block_hndl)
Argument Type Description
state_ptr void * The client state of the object being written to disk.
block_hndl EtsT_State_Block_Handle An empty state block.

Return Type

EtsT_State_IO_Status

EtsC_Block_Ignore if there is no state information to be written to disk; EtsC_Block_Good otherwise.

ets_pstate.h

Details

When an object with an installed client state is written to disk, the corresponding state_write_proc (registered by Ets_Client_State_Handlers_Register()) is called. This callback should write all needed information into the empty state block (using the Ets_State_Block_ write functions). Everything placed into the block will be saved to disk.

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