class O2GMessageRow

Parents
O2GRow

Brief

The class provides access to a message that is intended for the user.

Details

An instance of the class can be obtained by the following methods:

Method/Use

Prerequisites

O2GMessagesTableResponseReader.getRow

This method is used to get an initial message after a session with the trading server is established.
This method provides access to a single message. To get multiple messages, call this method in a loop.

The Messages table is always loaded by the server automatically during the login process.
You can get the message information by using the O2GLoginRules.getTableRefreshResponse method. The returned O2GResponse object is of the O2GResponseType.GetMessages type.

You must parse this object by using the O2GMessagesTableResponseReader object.

For details, see the example below.

O2GTablesUpdatesReader.getMessageRow

This method is used to get information about a message received during a session lifetime.
This method provides access to a single message. To track multiple messages, call this method in a loop.

To receive the message information, you must implement the IO2GResponseListener.onTablesUpdates method. The received O2GResponse object is of the O2GResponseType.TablesUpdates type.

You must parse this object by using the O2GTablesUpdatesReader object.

For details, see the example below.

Example

Get Messages information [show]

The type defined in the fxcore2.dll assembly. The namespace is fxcore2.

Public Properties

Columns

The columns of the table.

Feature

Gets the type of the message content.

From

Gets the login of the message sender.

HTMLFragmentFlag

Gets the flag indicating whether the message is in the HTML format or not.

MsgID

Gets the unique identification number of the message.

Subject

Gets the subject of the message.

TableType

The type of the table.

Text

Gets the text body of the message.

Time

Gets the date and time when the recipient receives the message.

Type

Gets the message container.

Public Methods

getCell

Gets a cell of the table.

isCellChanged

Gets a flag indicating whether the value of the cell is changed.

back