W - The type of objects written on the connections created by this provider.R - The type of objects read from the connections created by this provider.public class SingleHostConnectionProvider<W,R> extends java.lang.Object implements ConnectionProvider<W,R>
| Constructor and Description |
|---|
SingleHostConnectionProvider(rx.Observable<HostConnector<W,R>> connectors) |
| Modifier and Type | Method and Description |
|---|---|
rx.Observable<Connection<R,W>> |
newConnectionRequest()
Returns an
Observable that emits a single connection every time it is subscribed. |
public SingleHostConnectionProvider(rx.Observable<HostConnector<W,R>> connectors)
public rx.Observable<Connection<R,W>> newConnectionRequest()
ConnectionProviderObservable that emits a single connection every time it is subscribed.newConnectionRequest in interface ConnectionProvider<W,R>Observable that emits a single connection every time it is subscribed.