Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Detecting Real Time Messaging Server Disconnect

    I am a Smart GWT Power User and I'm evaluating the Real Time Messaging module.

    Is there a way for a client to know if a server has stopped running or for some other reason becomes disconnected? My use case is that I have a client subscribing to a channel and I bring the server down. I'd like for the client to be able to detect this so it can alert the end user. Is this possible?

    #2
    The only way to guarantee prompt notification of connection failure is to periodically push "heartbeat"s from the server, and assume there is a connection failure if heartbeats have not been received for a given length of time.

    Comment

    Working...
    X