Class GrpcIpcServerBuilder

    • Constructor Summary

      Constructors 
      Constructor Description
      GrpcIpcServerBuilder​(org.osgi.service.cm.ConfigurationAdmin configAdmin, int port, java.lang.String delay)  
    • Method Summary

      All Methods Instance Methods Concrete 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GrpcIpcServerBuilder

        public GrpcIpcServerBuilder​(org.osgi.service.cm.ConfigurationAdmin configAdmin,
                                    int port,
                                    java.lang.String delay)
    • Method Detail

      • startServer

        public void startServer​(io.grpc.BindableService bindableService)
                         throws java.io.IOException
        Description copied from interface: GrpcIpcServer
        Starts server, this will not immediately start server but schedules server start after certain delay.
        Specified by:
        startServer in interface GrpcIpcServer
        Parameters:
        bindableService - The service that needs to be added
        Throws:
        java.io.IOException
      • getProperties

        public java.util.Properties getProperties()
        Description copied from interface: GrpcIpcServer
        Get properties with which the service has started.
        Specified by:
        getProperties in interface GrpcIpcServer