Class WebBarrageSubscription

java.lang.Object
io.deephaven.web.client.api.barrage.data.WebBarrageSubscription
Direct Known Subclasses:
WebBarrageSubscription.BlinkImpl, WebBarrageSubscription.RedirectedImpl, WebBarrageSubscription.ViewportImpl

public abstract class WebBarrageSubscription extends Object
In contrast to the server implementation, the JS API holds the "table" as distinct from the "subscription", so that developers are acutely aware of extra async costs in requesting data, and can clearly indicate how much data is requested. This class represents a barrage subscription for the JS API, and exposes access to the data presently available on the client.

This is a rough analog to BarrageTable and its subtypes, but isn't directly exposed to API consumers. Instead, the subscription types wrap this, and delegate their data storage and snapshot/delta handling here.