I
- The request object type for this client.O
- The response object type for this client.public interface RxClient<I,O> extends MetricEventsPublisher<ClientMetricsEvent<?>>
Modifier and Type | Interface and Description |
---|---|
static class |
RxClient.ClientConfig
A configuration to be used for this client.
|
static class |
RxClient.ServerInfo |
Modifier and Type | Method and Description |
---|---|
rx.Observable<ObservableConnection<O,I>> |
connect()
Creates exactly one new connection for every subscription to the returned observable.
|
java.lang.String |
name()
A unique name for this client.
|
void |
shutdown()
Shutdown this client.
|
subscribe
rx.Observable<ObservableConnection<O,I>> connect()
void shutdown()
java.lang.String name()