Re: asynchronous response from with a agentx subagent

2005-08-08 Thread Robert Story
On Thu, 28 Jul 2005 10:05:22 -0700 (PDT) Srinivas wrote: SA> sorry i didnt mean that. SA> i want to use the async interface without making this SA> call synchronous as this daemon is responsible for SA> other things as well. I didn't mean make the daemon synchronous, I mean make the sub-agent call

Re: asynchronous response from with a agentx subagent

2005-07-28 Thread Srinivas Athuluru (ATG)
sorry i didnt mean that. i want to use the async interface without making this call synchronous as this daemon is responsible for other things as well. thanks ATG --- Robert Story <[EMAIL PROTECTED]> wrote: > On Wed, 27 Jul 2005 16:34:12 -0700 (PDT) Srinivas > wrote: > SA> I cannt make it synchr

Re: asynchronous response from with a agentx subagent

2005-07-27 Thread Robert Story
On Wed, 27 Jul 2005 16:34:12 -0700 (PDT) Srinivas wrote: SA> I cannt make it synchronous. Sure you can. Instead of calling xxx_async(), write a wrapper: int xxx_sync() { rc = xxx_async(); if(rc) handle_error(); rc = xxx_wait_for_async_results(); if(rc) handle_error(); return rc; }

Re: asynchronous response from with a agentx subagent

2005-07-27 Thread Srinivas Athuluru (ATG)
I cannt make it synchronous. could you give me some pointers as to how u would go about doing it? or i could come up with a plan and ask your opinion. thanks Srinivas --- Robert Story <[EMAIL PROTECTED]> wrote: > On Tue, 26 Jul 2005 09:43:35 -0700 (PDT) Srinivas > wrote: > SA>I have a suba

Re: asynchronous response from with a agentx subagent

2005-07-27 Thread Robert Story
On Tue, 26 Jul 2005 09:43:35 -0700 (PDT) Srinivas wrote: SA>I have a subagent which needs to talk to an SA> internal daemon using a asynchronous request/response SA> mechanism. I think you are going to have to make the communication synchronous. SA> And also to make matters worse, I dont have

asynchronous response from with a agentx subagent

2005-07-26 Thread Srinivas Athuluru (ATG)
hi all, I have a subagent which needs to talk to an internal daemon using a asynchronous request/response mechanism. The problem is, I am using baby-steps handler and i am inside one of its state. I cannt set the request to 'delegated' state as this is only handled by the outside set state machi