Interface SingleConnectionFactory<StreamRequestT,StreamResponseT,ClientResponseT,ConnectionT> (1.7.1)

public interface SingleConnectionFactory<StreamRequestT,StreamResponseT,ClientResponseT,ConnectionT>

Type Parameters

NameDescription
StreamRequestT
StreamResponseT
ClientResponseT
ConnectionT

Methods

New(StreamFactory<StreamRequestT,StreamResponseT> streamFactory, ResponseObserver<ClientResponseT> clientStream, StreamRequestT initialRequest)

public abstract ConnectionT New(StreamFactory<StreamRequestT,StreamResponseT> streamFactory, ResponseObserver<ClientResponseT> clientStream, StreamRequestT initialRequest)
Parameters
NameDescription
streamFactoryStreamFactory<StreamRequestT,StreamResponseT>
clientStreamResponseObserver<ClientResponseT>
initialRequestStreamRequestT
Returns
TypeDescription
ConnectionT