T
- type of a data item that should be returned by a WebSocket subscription.public class WebSocketSubscription<T>
extends java.lang.Object
Constructor and Description |
---|
WebSocketSubscription(io.reactivex.subjects.BehaviorSubject<T> subject,
java.lang.Class<T> responseType)
Creates WebSocketSubscription.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<T> |
getResponseType() |
io.reactivex.subjects.BehaviorSubject<T> |
getSubject() |