I
- The type of the object that is read from the channel created by this factory.O
- The type of objects that are written to the channel created by this factory.public interface ClientChannelFactory<I,O>
Modifier and Type | Method and Description |
---|---|
io.netty.channel.ChannelFuture |
connect(rx.Subscriber<? super ObservableConnection<I,O>> subscriber,
RxClient.ServerInfo serverInfo,
ClientConnectionFactory<I,O,? extends ObservableConnection<I,O>> connectionFactory) |
void |
onNewConnection(ObservableConnection<I,O> newConnection,
rx.Subscriber<? super ObservableConnection<I,O>> subscriber) |
void |
useMetricEventsSubject(MetricEventsSubject<ClientMetricsEvent<?>> eventsSubject) |
io.netty.channel.ChannelFuture connect(rx.Subscriber<? super ObservableConnection<I,O>> subscriber, RxClient.ServerInfo serverInfo, ClientConnectionFactory<I,O,? extends ObservableConnection<I,O>> connectionFactory)
void onNewConnection(ObservableConnection<I,O> newConnection, rx.Subscriber<? super ObservableConnection<I,O>> subscriber)
void useMetricEventsSubject(MetricEventsSubject<ClientMetricsEvent<?>> eventsSubject)