onTriggered method

void onTriggered()

Event handler called when the server notifies that an MpnSubscription did trigger.

For this event to be called the MpnSubscription must have a trigger expression set and it must have been evaluated to true at least once.
Note that this event can be called multiple times in the life of an MpnSubscription instance only in case it is subscribed multiple times through LightstreamerClient.unsubscribeMpn and LightstreamerClient.subscribeMpn. Two consecutive calls to this method are not possible.
Note also that in some server clustering configurations this event may not be called. The corresponding push notification is always sent, though.

Implementation

void onTriggered() {}