Interface MessagingConnectionDownCallback


public interface MessagingConnectionDownCallback
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when the messaging connection allowing the server to send messages to the client is disconnected.
  • Method Details

    • execute

      void execute()
      Called when the messaging connection allowing the server to send messages to the client is disconnected. This can occur either when you explicitly disconnect the connection or if a keepalive packet from the server does not arrive on time. This latter is defined as the Messaging.keepaliveInterval plus the Messaging.keepaliveReestablishDelay. With default settings, a maximum of 4 seconds will elapse between the connection actually going down and you receiving this callback.