Class GRPCClient

  • All Implemented Interfaces:
    Client

    public class GRPCClient
    extends Object
    implements Client
    • Constructor Detail

      • GRPCClient

        public GRPCClient​(String host,
                          int port)
      • GRPCClient

        public GRPCClient​(String host,
                          int port,
                          io.netty.handler.ssl.SslContext sslContext)
    • Method Detail

      • connect

        public void connect()
        Specified by:
        connect in interface Client
      • shutdown

        public void shutdown()
        Specified by:
        shutdown in interface Client
      • getChannel

        public io.grpc.ManagedChannel getChannel()
      • getHost

        public String getHost()
      • getPort

        public int getPort()