MigratoryDataListener

The implementation of this interface will handle the messages received from the server for the subscribed subjects as well as various status notifications. More…

Public Functions

Name
void OnMessage(MigratoryDataMessage message)
This method handles the real-time messages received from a MigratoryData server for the subscribed subjects.
void OnStatus(string status, string info)
This method handles the status notifications.

Detailed Description

class MigratoryDataListener;

The implementation of this interface will handle the messages received from the server for the subscribed subjects as well as various status notifications.

Use the API method [MigratoryDataClient.SetListener()] to register your listener implementation.

Public Functions Documentation

function OnMessage

void OnMessage(
    MigratoryDataMessage message
)

This method handles the real-time messages received from a MigratoryData server for the subscribed subjects.

Parameters:

function OnStatus

void OnStatus(
    string status,
    string info
)

This method handles the status notifications.

Parameters:

  • status The type of the status notification (see the possible values above).
  • info The detail information of the status notification.

The possible values of the status parameter are: