Ets_Obj_Install_Connect()

Abstract

Installs a newly created link between two other objects.

Syntax

Ets_Obj_Install_Connect (src_hndl, dest_hndl, installee_hndl_ptr)
Argument Type Description
src_hndl EtsT_Obj_Handle Source endpoint handle.
dest_hndl EtsT_Obj_Handle Destination endpoint handle.
installee_hndl_ptr EtsT_Obj_Handle* Handle of connector to be installed.

Return Type

void

No return value.

ets_api_obj.h

Details

Associates the given link with a model and connects it to the given source and destination nodes. The link cannot already be associated with the model when this function is invoked. It is assumed that the name, model, etc., have already been set appropriately. The object’s name cannot be set at object creation time because the model into which the object will be installed is not known then. Likewise, it cannot be set now, because the user may have set the name already. To allow the user to set the name to a reasonable value, an API function has been provided to recommend a name for an object. This functionality can also be invoked by installing an object with its name equal to “”.

This procedure fails if installee_hndl_ptr* references a path object that requires links between its connected sites.

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