EtsT_Client_State_Copy_Create_Proc

Note: Requires OPNET Development Kit

Abstract

Callback: Called when the client state needs to be copied.

Syntax

<state_copy_create_proc_name> (orig_state_ptr)
Argument Type Description
orig_state_ptr void * The client state to be copied, as installed on an object being duplicated.

Return Type

void *

The new (copied) client state.

ets_pstate.h

Details

When an object with an installed client state is duplicated, the corresponding state_copy_create_proc (registered by Ets_Client_State_Handlers_Register()) is called. This callback should allocate a new state and fill in the new state with a copy of the information in the original state.

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