nrac_consumer_remove_from_all()

Abstract

Delete the associations between a consumer and all the resources that support it.

Syntax

nrac_consumer_remove_from_all (consumer_handle, event_handle)
Argument Type Description
consumer_handle Nrac_Consumer_Handle handle for the consumer that will be removed. Use NRAC_ANY_CONSUMER to remove all consumers.
event_handle Nrac_Event_Handle handle for a conditionalizing event. Use NRAC_ANY_EVENT to indicate that the event does not matter.

Return Type

void

no return value

nrac.h

Details

This function behaves like nrac_consumer_remove_from_resource(), except that the removal criteria are applied to all of the resources that currently support the consumer. For example, this would remove a traffic demand from all of the links that the traffic is routed over. Again, the removal can be made conditional upon a specific event, or can be across all events using NRAC_ANY_EVENT. Once the consumer is unlinked from all resources, it remains within the network, in the same state that it was in immediately after it was created. To remove the consumer entirely from the network, use nrac_consumer_remove_from_network().

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