MpnSubscriptionExt extension 
 
    
    
    
    
  
    Methods
    
        - 
  addListener(MpnSubscriptionListener listener)
    → void
  
  
 
- 
  Adds a listener that will receive events from the MpnSubscription instance.
  
 
        - 
  getActualNotificationFormat()
    → String?
  
  
 
- 
  Inquiry method that gets the JSON structure used by the Sever to send notifications.
  
 
        - 
  getActualTriggerExpression()
    → String?
  
  
 
- 
  Inquiry method that gets the trigger expression evaluated by the Sever.
  
 
        - 
  getDataAdapter()
    → String?
  
  
 
- 
  Inquiry method that can be used to read the name of the Data Adapter specified for this
MpnSubscription through setDataAdapter.
  
 
        - 
  getFields()
    → List<String>?
  
  
 
- 
  Inquiry method that can be used to read the "Field List" specified for this MpnSubscription.
  
 
        - 
  getFieldSchema()
    → String?
  
  
 
- 
  Inquiry method that can be used to read the field schema specified for this MpnSubscription.
  
 
        - 
  getItemGroup()
    → String?
  
  
 
- 
  Inquiry method that can be used to read the item group specified for this MpnSubscription.
  
 
        - 
  getItems()
    → List<String>?
  
  
 
- 
  Inquiry method that can be used to read the "Item List" specified for this MpnSubscription.
  
 
        - 
  getListeners()
    → List<MpnSubscriptionListener>
  
  
 
- 
  Returns the list containing the MpnSubscriptionListener instances that were added to this MpnSubscription.
  
 
        - 
  getMode()
    → String
  
  
 
- 
  Inquiry method that can be used to read the mode specified for this
MpnSubscription.
  
 
        - 
  getNotificationFormat()
    → String?
  
  
 
- 
  Inquiry method that gets the JSON structure requested by the user to be used as the format of push notifications.
  
 
        - 
  getRequestedBufferSize()
    → String?
  
  
 
- 
  Inquiry method that can be used to read the buffer size, configured though
setRequestedBufferSize, to be requested to the Server for
this MpnSubscription.
  
 
        - 
  getRequestedMaxFrequency()
    → String?
  
  
 
- 
  Inquiry method that can be used to read the max frequency, configured
through setRequestedMaxFrequency, to be requested to the
Server for this MpnSubscription.
  
 
        - 
  getStatus()
    → String
  
  
 
- 
  The status of the subscription.
  
 
        - 
  getStatusTimestamp()
    → int
  
  
 
- 
  The server-side timestamp of the subscription status.
  
 
        - 
  getSubscriptionId()
    → String?
  
  
 
- 
  The server-side unique persistent ID of the MPN subscription.
  
 
        - 
  getTriggerExpression()
    → String?
  
  
 
- 
  Inquiry method that gets the trigger expression requested by the user.
  
 
        - 
  isActive()
    → bool
  
  
 
- 
  Checks if the MpnSubscription is currently "active" or not.
  
 
        - 
  isSubscribed()
    → bool
  
  
 
- 
  Checks if the MpnSubscription is currently subscribed to through the server or not.
  
 
        - 
  isTriggered()
    → bool
  
  
 
- 
  Checks if the MpnSubscription is currently triggered or not.
  
 
        - 
  removeListener(MpnSubscriptionListener listener)
    → void
  
  
 
- 
  Removes a listener from the MpnSubscription instance so that it will not receive events anymore.
  
 
        - 
  setDataAdapter(String? dataAdapter)
    → void
  
  
 
- 
  Setter method that sets the name of the Data Adapter
(within the Adapter Set used by the current session)
that supplies all the items for this MpnSubscription.
  
 
        - 
  setFields(List<String>? fields)
    → void
  
  
 
- 
  Setter method that sets the "Field List" to be subscribed to through
Lightstreamer Server.
  
 
        - 
  setFieldSchema(String? schemaName)
    → void
  
  
 
- 
  Setter method that sets the "Field Schema" to be subscribed to through
Lightstreamer Server.
  
 
        - 
  setItemGroup(String? groupName)
    → void
  
  
 
- 
  Setter method that sets the "Item Group" to be subscribed to through
Lightstreamer Server.
  
 
        - 
  setItems(List<String>? items)
    → void
  
  
 
- 
  Setter method that sets the "Item List" to be subscribed to through
Lightstreamer Server.
  
 
        - 
  setNotificationFormat(String format)
    → void
  
  
 
- 
  Sets the JSON structure to be used as the format of push notifications.
  
 
        - 
  setRequestedBufferSize(String? size)
    → void
  
  
 
- 
  Setter method that sets the length to be requested to Lightstreamer
Server for the internal queuing buffers for the items in the MpnSubscription.
  
 
        - 
  setRequestedMaxFrequency(String? freq)
    → void
  
  
 
- 
  Setter method that sets the maximum update frequency to be requested to
Lightstreamer Server for all the items in the MpnSubscription.
  
 
        - 
  setTriggerExpression(String? trigger)
    → void
  
  
 
- 
  Sets the boolean expression that will be evaluated against each update and will act as a trigger to deliver the push notification.