isTriggered method

bool isTriggered()

Checks if the MpnSubscription is currently triggered or not.

This flag is switched to true when a trigger expression has been set and it evaluated to true at least once. For this to happen, the subscription must already be in "active" and "subscribed" states. It is switched back to false if the subscription is modified with a LightstreamerClient.subscribe call on a copy of it, deleted with LightstreamerClient.unsubscribe or LightstreamerClient.unsubscribeMpnSubscriptions calls, and server sent subscription events.

Lifecycle This method can be called at any time.

Returns true if the MpnSubscription's trigger expression has been evaluated to true at least once, false otherwise.

  • See getStatus
  • See LightstreamerClient.subscribe
  • See LightstreamerClient.unsubscribe
  • See LightstreamerClient.unsubscribeMpnSubscriptions

Implementation

external bool isTriggered();