Class SingleConnection<StreamRequestT,StreamResponseT,ClientResponseT>

java.lang.Object
com.google.cloud.pubsublite.internal.wire.SingleConnection<StreamRequestT,StreamResponseT,ClientResponseT>
Type Parameters:
StreamRequestT - The request type sent on the stream.
StreamResponseT - The response type sent from the stream.
ClientResponseT - The response type sent to the client.
All Implemented Interfaces:
com.google.api.gax.rpc.ResponseObserver<StreamResponseT>, AutoCloseable
Direct Known Subclasses:
ConnectedAssignerImpl, ConnectedCommitterImpl

public abstract class SingleConnection<StreamRequestT,StreamResponseT,ClientResponseT> extends Object implements com.google.api.gax.rpc.ResponseObserver<StreamResponseT>, AutoCloseable
A SingleConnection handles the state for a stream with an initial connection request that may only be sent once and needs to wait for a response before sending other requests.