[interfacekit] Re: I'm baaaaaack!
- From: Erik Jaesler <erik@xxxxxxxxxxxxxx>
- To: interfacekit@xxxxxxxxxxxxx
- Date: Tue, 26 Aug 2003 09:38:04 -0700
Yeah, that sounds like exactly the thing. I monkeyed about some last
night with my messaging test to have the second looper reply to the
first and it just sat there. Clearly I have some debugging to do. ;)
e
Ingo Weinhold wrote:
So, my suspicion is, that SendReply() doesn't work correctly yet. But I'll
look into that.
I was more or less right. The reply wouldn't be delivered, for the
unflattened original message didn't contain the reply target info. The
reason for this was, that send_message() created a BMessenger with a dummy
handler token -1 (== B_NULL_TOKEN), which is considered invalid by
flatten_hdr(). I allowed myself to make that B_PREFERRED_TOKEN and now at
least the reply is delivered successfully. I tested with RosterShell, but it
doesn't behave right yet, I think. I'll have a closer look.
CU, Ingo
- Follow-Ups:
- [interfacekit] Re: I'm baaaaaack!
- From: Ingo Weinhold
- References:
- [interfacekit] I'm baaaaaack!
- From: Erik Jaesler
- [interfacekit] Re: I'm baaaaaack!
- From: Ingo Weinhold
- [interfacekit] Re: I'm baaaaaack!
- From: Ingo Weinhold
Other related posts:
- » [interfacekit] I'm baaaaaack!
- » [interfacekit] Re: I'm baaaaaack!
- » [interfacekit] Re: I'm baaaaaack!
- » [interfacekit] Re: I'm baaaaaack!
- » [interfacekit] Re: I'm baaaaaack!
- » [interfacekit] Re: I'm baaaaaack!
- » [interfacekit] Re: I'm baaaaaack!
- » [interfacekit] Re: I'm baaaaaack!
- » [interfacekit] Re: I'm baaaaaack!
- » [interfacekit] Re: I'm baaaaaack!
So, my suspicion is, that SendReply() doesn't work correctly yet. But I'll look into that.
I was more or less right. The reply wouldn't be delivered, for the unflattened original message didn't contain the reply target info. The reason for this was, that send_message() created a BMessenger with a dummy handler token -1 (== B_NULL_TOKEN), which is considered invalid by flatten_hdr(). I allowed myself to make that B_PREFERRED_TOKEN and now at least the reply is delivered successfully. I tested with RosterShell, but it doesn't behave right yet, I think. I'll have a closer look.
CU, Ingo
- [interfacekit] Re: I'm baaaaaack!
- From: Ingo Weinhold
- [interfacekit] I'm baaaaaack!
- From: Erik Jaesler
- [interfacekit] Re: I'm baaaaaack!
- From: Ingo Weinhold
- [interfacekit] Re: I'm baaaaaack!
- From: Ingo Weinhold