Package com.turtlequeue
Class TqClient
- java.lang.Object
-
- com.turtlequeue.TqClient
-
public class TqClient extends Object
Internal
-
-
Constructor Summary
Constructors Constructor Description TqClient(ClientImpl c)Construct client for accessing Tq reusing the existing channel.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.turtlequeue.sdk.api.proto.TurtleQueueGrpc.TurtleQueueStubcheckAndGetStub(Boolean requestConnection)protected voidclose()protected io.grpc.ChannelgetChannel()protected io.grpc.ConnectivityStategetState()protected io.grpc.ConnectivityStatereconnectChannel()
-
-
-
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()
-
-