Class TqClient


  • public class TqClient
    extends Object
    Internal
    • Constructor Detail

      • TqClient

        public TqClient​(ClientImpl c)
        Construct client for accessing Tq reusing the existing channel.
    • Method Detail

      • checkAndGetStub

        protected com.turtlequeue.sdk.api.proto.TurtleQueueGrpc.TurtleQueueStub checkAndGetStub​(Boolean requestConnection)
                                                                                         throws Exception
        Throws:
        Exception
      • getState

        protected io.grpc.ConnectivityState getState()
      • reconnectChannel

        protected io.grpc.ConnectivityState reconnectChannel()
      • getChannel

        protected io.grpc.Channel getChannel()