1
Vote

Stop receiving messages 2

description

The silverlight client (changeset aefc91ad70cf) stop receiving messages when there are communication failures.

It happens in this way:
  • the application subscribes to messages published to one or more topics (client.SubscribeAsync)
  • laharsub client begins an asyncronous request to the server and waits for the server response (HttpLongPollManager.cs | StartPoll)
  • the connection fails
  • the Server Pool Timeout is reached, by default after 45 seconds
  • the connection is restored
  • laharsub client keep waiting for the old server response and stop receiving messages
  • the application can create topics and send messages to the server
Cristian

comments

tjanczuk wrote Dec 6, 2010 at 1:24 AM

Cristian, when you say "connection fails" what exactly do you have in mind? In other words, how did you achieve this condition?

CristianD wrote Dec 6, 2010 at 10:09 AM

Tomek,
I run the Laharsub console in one pc and the Laharsub sample in other pc.
Then I unpluged the network cable (“connection fails”) and plugged it again (“connection restored”).
Cristian