Robert-
How do I handle generating an asynchronous response for a request ?
I’m trying to connect SMCP to a scripting language running in another task. An inbound message will get routed to the node request handler via uip_newdata( ) which will queue parameters for the scripting language to process then signal the script an inbound request is available, then smcp_start_async_response( ) to return the empty response ?
Then later when the script has processed the event and queued the parameters to generate its response the uip_poll( ) would deque the response parameters and smcp_outbound_begin_async_response( ) followed by adding the outbound results then outbound send ?
Looking at smcp_observable it seems like I will require a structure to relate the smcp_async_response with a smcp_transaction to make this work…
Can you please elaborate or direct me to some additional code to help me understand how to approach this ?
Thank you,
Steven J. Ackerman
Sarasota, FL
Blog: http://acslabs.wordpress.com
Robert-
OK – I understand.
Thank you !