How can I associate an ICI with only a single event?

Categories:
Solution Number:
S20655
Last Modified:
2013-08-20
Issue

How can I associate an ICI with only a single event?

Solution

First create and set the attributes of your ICI. Then install it using op_ici_install (). Once you have done this, the ICI will be associated with every event scheduled until either a different ICI is installed using op_ici_install () or you deinstall the ICI using op_ici_install () with OPC_NIL as an argument:ici_ptr = op_ici_create (my_ici);...set ici attributes using op_ici_attr_set () Kernel procedure...op_ici_install (ici_ptr);op_intrpt_schedule_self ( (op_sim_time () + 10), 0);op_ici_install (OPC_NIL);

Environment

DES Kernel->Process Modeling/Coding

Attachments
NOTICE: Riverbed® product names have changed. Please refer to the Product List for a complete list of product names.
Can't find an answer? Create a case