iNTERFACEWARE Products Manual > Installing and Using Chameleon > Using Python Scripting > Chameleon Python API > Iguana Channel Functions > Enqueueing the Acknowledgment Message |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
The enqueue_message() function is useful if you want to process an ACK message that is received by a channel. For example, suppose that you have defined a channel named ack1 that is sending messages to an application. If you want to add the ACK message received by ack1 to the queue for channel ack2, do the following:
In the Global Inbound Script, value is a global variable that contains the ACK message.
Now, when a message is sent by ack1, the ACK message that is returned by the receiving application is added to the message queue for channel ack2. It is then treated like any other incoming message to that channel.
|