Package io.grpc.xds

Interface XdsServerBuilder.XdsServingStatusListener

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onNotServing​(java.lang.Throwable throwable)
      Callback invoked when server is forced to be "not serving" due to an error.
      void onServing()
      Callback invoked when server begins serving.
    • Method Detail

      • onServing

        void onServing()
        Callback invoked when server begins serving.
      • onNotServing

        void onNotServing​(java.lang.Throwable throwable)
        Callback invoked when server is forced to be "not serving" due to an error.
        Parameters:
        throwable - cause of the error