Base interface for all Record messages.
More...
Base interface for all Record messages.
void Caplin.DataSource.Messaging.Record.IRecordMessage.AddLatencyChainPoint |
( |
string |
pointName, |
|
|
DateTime |
dateTime |
|
) |
| |
Adds a latency chain point
- Parameters
-
pointName | The name associated with the latency measurement. |
dateTime | The current time i.e. DateTime.Now. Note that the timestamp saved in the packet will be converted to an epoch timestamp. |
void Caplin.DataSource.Messaging.Record.IRecordMessage.ClearFields |
( |
| ) |
|
bool Caplin.DataSource.Messaging.Record.IRecordMessage.ContainsField |
( |
string |
fieldName | ) |
|
Determines whether the message contains the specified field
- Parameters
-
fieldName | Name of the field. |
- Returns
true
if the message contains the field; otherwise, false
.
void Caplin.DataSource.Messaging.Record.IRecordMessage.RemoveField |
( |
string |
fieldName | ) |
|
Removes the given field from this RecordMessage.
- Parameters
-
fieldName | Name of the field. |
void Caplin.DataSource.Messaging.Record.IRecordMessage.SetField |
( |
string |
fieldName, |
|
|
string |
value |
|
) |
| |
Sets the value of a specified field.
- Parameters
-
fieldName | Name of the field. |
value | Value of the field. |
If the field does not exist in the Record, this method adds it to the Record, otherwise this method will update the value of the field.
IList<IField> Caplin.DataSource.Messaging.Record.IRecordMessage.Fields |
|
get |
Gets the fields within this mesasge.
A read-only list of the fields within this record message.
DateTime Caplin.DataSource.Messaging.Record.IRecordMessage.InitialLatencyChainTime |
|
set |
Sets the initial time for latency chaining.
The current time i.e. DateTime.Now. Note that the timestamp saved in the packet will be converted to an epoch timestamp.
The timestamp could be: the time the data was created; the time the data entered the DataSource adapter or any other time point during the lifetime of the data.
string Caplin.DataSource.Messaging.Record.IRecordMessage.this[string fieldName] |
|
getset |
Gets or sets a specified field.
Field value
If the field does not exist in the Record, this index operator adds it to the Record, otherwise using the index operator will update the value of the field.
- Exceptions
-