Subject: Question on Matrix Threading
Alex,
I have a general question on Matrix's Threading.
In my client app, most of the time, I receive callback events from the same main windows thread I start the Matrix objects.
But, once in awhile, I got different thread reporting the callback events. See below.
2012-09-24 17:10:43,107 [1] INFO MyXmpp.XmppPresenter - SND: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" to="svr1070.uc.test.lab.com" version="1.0" >
2012-09-24 17:10:43,122 [1] INFO MyXmpp.XmppPresenter - OnCreateBoshSession
2012-09-24 17:10:43,809 [7] INFO MyXmpp.XmppPresenter - RCV: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="svr1070.uc.test.lab.com" version="1.0" id="90e3a60c8ab6e4ec338158d70c878c4be95d6c34" >
2012-09-24 17:10:43,809 [7] INFO MyXmpp.XmppPresenter - RCV: <stream:features xmlns:stream="http://etherx.jabber.org/streams">
<mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
<mechanism>PLAIN</mechanism>
</mechanisms>
<c xmlns="http://jabber.org/protocol/caps" hash="sha-1" node="http://www.process-one.net/en/ejabberd/" ver="yy7di5kE0syuCXOQTXNBTclpNTo=" />
<register xmlns="http://jabber.org/features/iq-register" />
</stream:features>
When this happens, I got all my events from Thread [7].
I was wondering whether I should expect this, or in what situation this might occur.
I have a general question on Matrix's Threading.
In my client app, most of the time, I receive callback events from the same main windows thread I start the Matrix objects.
But, once in awhile, I got different thread reporting the callback events. See below.
2012-09-24 17:10:43,107 [1] INFO MyXmpp.XmppPresenter - SND: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" to="svr1070.uc.test.lab.com" version="1.0" >
2012-09-24 17:10:43,122 [1] INFO MyXmpp.XmppPresenter - OnCreateBoshSession
2012-09-24 17:10:43,809 [7] INFO MyXmpp.XmppPresenter - RCV: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="svr1070.uc.test.lab.com" version="1.0" id="90e3a60c8ab6e4ec338158d70c878c4be95d6c34" >
2012-09-24 17:10:43,809 [7] INFO MyXmpp.XmppPresenter - RCV: <stream:features xmlns:stream="http://etherx.jabber.org/streams">
<mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
<mechanism>PLAIN</mechanism>
</mechanisms>
<c xmlns="http://jabber.org/protocol/caps" hash="sha-1" node="http://www.process-one.net/en/ejabberd/" ver="yy7di5kE0syuCXOQTXNBTclpNTo=" />
<register xmlns="http://jabber.org/features/iq-register" />
</stream:features>
When this happens, I got all my events from Thread [7].
I was wondering whether I should expect this, or in what situation this might occur.