Re: [HAPI-devel] Callback

2009-06-22 Thread Asanka Abeysinghe
Hi, Any one has a workaround for the following scenario. Thx - Asanka Asanka Abeysinghe wrote: Hi James, Basically I want to get the output stream from the server socket and pass it to another process to construct the ack and response. So basically the callback will not return an Messag

Re: [HAPI-devel] Callback

2009-06-02 Thread Asanka Abeysinghe
Hi James, Basically I want to get the output stream from the server socket and pass it to another process to construct the ack and response. So basically the callback will not return an Message out. Any workaround ? Thx - Asanka James Agnew wrote: Hi Asanka, I'm not sure I understand this

Re: [HAPI-devel] Callback

2009-06-02 Thread James Agnew
Hi Asanka, I'm not sure I understand this request. You are looking to send the ACK on a different socket? Or you want to have a different thread provide the ACK than the one that processes the message? Could you clarify the workflow a bit? Cheers, James On Sat, May 30, 2009 at 11:24 PM, Asanka A

[HAPI-devel] Callback

2009-05-30 Thread Asanka Abeysinghe
Hi, In the default usage of HAPI once we register a callback it is must to return the ACK on the same channel. I need to process the message and ACK later. Is there a way to do that and is it possible to get the output stream we need to response from the API. Thx - Asanka