Interface NGHeartbeatListener


public interface NGHeartbeatListener
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called by an internal nailgun thread when the server receives a heartbeat from the client.
  • Method Details

    • heartbeatReceived

      void heartbeatReceived()
      Called by an internal nailgun thread when the server receives a heartbeat from the client. This can normally be implemented as a no-op handler and is primarily useful for debugging. NGClientListeners can be registered using
      invalid reference
      NGContext.registerHeartbeatListener
      .