nrac_consumer_remove_from_network()

Abstract

Remove a consumer entirely from the network and deallocate its memory.

Syntax

nrac_consumer_remove_from_network (net_handle, consumer_handle)
Argument Type Description
net_handle Nrac_Net_Handle handle for the network context containing the consumer to be removed
consumer_handle Nrac_Consumer_Handle handle for the consumer object to be removed.

Return Type

void

no return value

nrac.h

Details

Unlike the other functions for removing consumers, nrac_consumer_remove_from_resource(), and nrac_consumer_remove_from_all(), this function actually removes the consumer from the network context. The handle for this consumer should no longer be used after this call. If the consumer is still associated with resources, this function first removes all of these associations. Memory resources associated with the consumer are released.

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