Subject: Across thread calls .. Unable to receive events
Hi,
I am writing a class library that uses Matrix Xmpp SDK to connect to an Xmpp server. I am having a strange problem. When the client library method that interacts with XMPP SDK is called from a different thread than the one that created its instance, I am not able to receive any events from Matrix XMPP SDK. If the same thread is used, then events are received and everything works fine.
A very strange thing to note is that even this cross thread call works perfectly well when called from UT of my class library.
Can someone please help me?
Regards,
Venkataramana
I am writing a class library that uses Matrix Xmpp SDK to connect to an Xmpp server. I am having a strange problem. When the client library method that interacts with XMPP SDK is called from a different thread than the one that created its instance, I am not able to receive any events from Matrix XMPP SDK. If the same thread is used, then events are received and everything works fine.
A very strange thing to note is that even this cross thread call works perfectly well when called from UT of my class library.
Can someone please help me?
Regards,
Venkataramana