Class GrpcIpcUtils


  • public class GrpcIpcUtils
    extends java.lang.Object
    • Constructor Detail

      • GrpcIpcUtils

        public GrpcIpcUtils()
    • Method Detail

      • buildSslContext

        public static io.grpc.netty.shaded.io.netty.handler.ssl.SslContextBuilder buildSslContext​(java.util.Properties properties)
                                                                                           throws javax.net.ssl.SSLException
        Throws:
        javax.net.ssl.SSLException
      • getChannel

        public static io.grpc.ManagedChannel getChannel​(java.util.Properties properties,
                                                        int port)
                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • getSslContextBuilder

        public static io.grpc.netty.shaded.io.netty.handler.ssl.SslContextBuilder getSslContextBuilder​(java.util.Properties properties)
      • getPropertiesFromConfig

        public static java.util.Properties getPropertiesFromConfig​(org.osgi.service.cm.ConfigurationAdmin configAdmin,
                                                                   java.lang.String pid)