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

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

Type Parameters

Name Description
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
Name Description
streamFactory StreamFactory<StreamRequestT,StreamResponseT>
clientStream ResponseObserver<ClientResponseT>
initialRequest StreamRequestT
Returns
Type Description
ConnectionT