Interface GrpcIpcServer

  • All Known Implementing Classes:
    GrpcIpcServerBuilder

    public interface GrpcIpcServer
    This Interface allows us to have a common Grpc Server for all IPC Services.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Properties getProperties()
      Get properties with which the service has started.
      void startServer​(io.grpc.BindableService bindableService)
      Starts server, this will not immediately start server but schedules server start after certain delay.
      void stopServer()
      Stops the Server.
    • Method Detail

      • startServer

        void startServer​(io.grpc.BindableService bindableService)
                  throws java.io.IOException
        Starts server, this will not immediately start server but schedules server start after certain delay.
        Parameters:
        bindableService - The service that needs to be added
        Throws:
        java.io.IOException
      • stopServer

        void stopServer()
        Stops the Server.
      • getProperties

        java.util.Properties getProperties()
        Get properties with which the service has started.