Package io.grpc

Interface InternalNotifyOnServerBuild


  • @Internal
    public interface InternalNotifyOnServerBuild
    Provides a callback method for a service to receive a reference to its server. The contract with ServerBuilder is that this method will be called on all registered services implementing the interface after build() has been called and before the Server instance is returned.
    • Method Detail

      • notifyOnBuild

        void notifyOnBuild​(Server server)
        Notifies the service that the server has been built.