Interface StreamSubscriber<T>
- Type Parameters:
T- type of the streamed data
public interface StreamSubscriber<T>
A receiver of streaming events.
-
Method Summary
Modifier and Type Method Description default voidonData(ServerMethod method, T data)default voidonFailed(ServerMethod method, String reason)default voidonSubscribe(StreamSubscription subscription)
-
Method Details
-
onSubscribe
-
onData
-
onFailed
-