Class SessionBase
Provides the abstract base class for a Session which exposes its public interface
Implements
Namespace: MESL.SqlRace.Domain
Assembly: MESL.SqlRace.Domain.dll
Syntax
public abstract class SessionBase : Object, ISession
Constructors
SessionBase()
Declaration
protected SessionBase()
Properties
ApplicationGroups
Gets the application groups and associated parameter groups available in a session.
Declaration
public abstract ReadOnlyCollection<ApplicationGroup> ApplicationGroups { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ReadOnlyCollection<ApplicationGroup> |
Associates
Gets the collection of associated session keys for the current session
Declaration
public abstract IAssociateCollection Associates { get; }
Property Value
Type | Description |
---|---|
IAssociateCollection | The associates. |
CanData
Gets the CAN data for requested bus.
Declaration
public abstract CanCollection CanData { get; }
Property Value
Type | Description |
---|---|
CanCollection |
ConnectionString
Gets the connection string used to create or open the session.
Declaration
public abstract string ConnectionString { get; }
Property Value
Type | Description |
---|---|
System.String |
Constants
Gets the constants for a session.
Declaration
public abstract SessionDataItemsCollection<Constant> Constants { get; }
Property Value
Type | Description |
---|---|
SessionDataItemsCollection<Constant> |
Conversions
Gets the conversions within a session.
Declaration
public abstract ReadOnlyCollection<ConversionBase> Conversions { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ReadOnlyCollection<ConversionBase> | The conversions. |
CoverageCursor
Gets current coverage cursor value of the session.
Declaration
public long CoverageCursor { get; protected set; }
Property Value
Type | Description |
---|---|
System.Int64 |
EndTime
Gets the end time of the session in nanoseconds.
Declaration
public abstract long EndTime { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
EpochDate
Gets the epoch date.
Declaration
public Nullable<DateTime> EpochDate { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> | The epoch date. |
ErrorDefinitions
Gets a collection of ErrorDefinition for a session.
Declaration
public abstract ReadOnlyCollection<ErrorDefinition> ErrorDefinitions { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ReadOnlyCollection<ErrorDefinition> |
Errors
Gets an instance of ErrorCollection providing access to error data
Declaration
public abstract ErrorCollection Errors { get; }
Property Value
Type | Description |
---|---|
ErrorCollection |
EventDefinitions
Gets a collection of EventDefinition for a session.
Declaration
public abstract ReadOnlyCollection<EventDefinition> EventDefinitions { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ReadOnlyCollection<EventDefinition> |
Events
Gets an instance of EventCollection providing access to event data
Declaration
public abstract EventCollection Events { get; }
Property Value
Type | Description |
---|---|
EventCollection |
ExtendedAssociates
Gets the collection of extended associates for the current session
Declaration
public abstract IExtendedAssociateCollection ExtendedAssociates { get; }
Property Value
Type | Description |
---|---|
IExtendedAssociateCollection | The extended associates. |
Id
Gets the Session Id.
Declaration
public int Id { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
This is the Id from the database that uniquely identifies a session.
Identifier
Gets the identifier of the session.
Declaration
public string Identifier { get; }
Property Value
Type | Description |
---|---|
System.String |
InstanceIdentifier
Gets the instance identifier.
Declaration
public abstract Guid InstanceIdentifier { get; }
Property Value
Type | Description |
---|---|
System.Guid | The instance identifier. |
IsStartTimeValid
Gets a value indicating whether the start time is valid when the session is live
Declaration
public abstract bool IsStartTimeValid { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Items
Gets the session details for a session.
Declaration
public abstract SessionDataItemsCollection<SessionDataItem> Items { get; }
Property Value
Type | Description |
---|---|
SessionDataItemsCollection<SessionDataItem> |
Key
Gets the Session Key.
Declaration
public SessionKey Key { get; }
Property Value
Type | Description |
---|---|
SessionKey |
LapCollection
Gets the ILapCollection providing access to Laps for this session.
Declaration
public abstract ILapCollection LapCollection { get; }
Property Value
Type | Description |
---|---|
ILapCollection |
Laps
Gets the LapCollection providing access to Laps for this session.
Declaration
public abstract LapCollection Laps { get; protected set; }
Property Value
Type | Description |
---|---|
LapCollection |
Maps
Gets a collection of maps for a session.
Declaration
public abstract MapCollection<MapBase> Maps { get; }
Property Value
Type | Description |
---|---|
MapCollection<MapBase> | The maps collection. |
Markers
Gets a collection of markers for a session.
Declaration
public abstract PersistableCollection<Marker> Markers { get; }
Property Value
Type | Description |
---|---|
PersistableCollection<Marker> |
MinimumVersionToRead
Gets the minimum version to read (i.e. database version in use when the session was created).
Declaration
public string MinimumVersionToRead { get; }
Property Value
Type | Description |
---|---|
System.String | The minimum version to read. |
Parameters
Gets the parameters collection for a session.
Declaration
public abstract ReadOnlyCollection<ParameterBase> Parameters { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ReadOnlyCollection<ParameterBase> |
Remarks
SessionType
Gets the type of the session.
Declaration
public string SessionType { get; }
Property Value
Type | Description |
---|---|
System.String |
StartTime
Gets the start time of the session in nanoseconds.
Declaration
public abstract long StartTime { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
State
Gets the SessionState
Declaration
public SessionState State { get; }
Property Value
Type | Description |
---|---|
SessionState | The session status. |
Remarks
When a session is currently being recorded to, the SessionState will be set to Live. If the session has been loaded from the database, the SessionState will be set to Historical.
TeamId
Gets the Team Id.
Declaration
public uint TeamId { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
Remarks
This is the TeamId for the session.
TelemetryDataStreamStarted
Whether The Session is now receiving data
Declaration
public abstract bool TelemetryDataStreamStarted { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
TimeOfRecording
Gets the date and time that the session was recorded.
Declaration
public DateTime TimeOfRecording { get; }
Property Value
Type | Description |
---|---|
System.DateTime |
VersionUsedToRecord
Gets the version used to record (i.e. the version of the code).
Declaration
public string VersionUsedToRecord { get; }
Property Value
Type | Description |
---|---|
System.String | The version used to record. |
Methods
AddChannelData(UInt32, Int64, Int32, Byte[])
Add channel data for a session
Declaration
public abstract void AddChannelData(uint channelId, long timestamp, int count, byte[] data)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | channelId | Channel Id of the IChannel being written to |
System.Int64 | timestamp | Timestamp, in nanoseconds, of first sample of data in data. |
System.Int32 | count | Number of samples in the data. |
System.Byte[] | data | The byte data to add to the IChannel. |
Remarks
Channel data can be added to a Live Session, and to an Historic Session if it does not clash with existing timestamps.
Exceptions
Type | Condition |
---|---|
System.ObjectDisposedException | Thrown when an attempt is made to invoke this method on a session that has been closed. |
AddChannelData(UInt32, Int64, Int32, Byte[], Boolean)
Add channel data for a session
Declaration
public abstract void AddChannelData(uint channelId, long timestamp, int count, byte[] data, bool notifiyClient)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | channelId | Channel Id of the IChannel being written to |
System.Int64 | timestamp | Timestamp, in nanoseconds, of first sample of data in data. |
System.Int32 | count | Number of samples in the data. |
System.Byte[] | data | The byte data to add to the IChannel. |
System.Boolean | notifiyClient |
Remarks
Channel data can be added to a Live Session, and to an Historic Session if it does not clash with existing timestamps.
Exceptions
Type | Condition |
---|---|
System.ObjectDisposedException | Thrown when an attempt is made to invoke this method on a session that has been closed. |
AddRowData(Int64, IList<UInt32>, Byte[])
Adds row data.
Declaration
public abstract void AddRowData(long timestamp, IList<uint> channelIds, byte[] data)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | timestamp | The timestamp. |
System.Collections.Generic.IList<System.UInt32> | channelIds | The channel identifiers. |
System.Byte[] | data | The data. |
AddRowData(Int64, IList<UInt32>, Byte[], Boolean)
Adds SlowRow channel data for a sequence of channels.
Declaration
public abstract void AddRowData(long timestamp, IList<uint> channelIds, byte[] data, bool notifyClient)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | timestamp | The timestamp, in nanoseconds, for all the samples in the data. |
System.Collections.Generic.IList<System.UInt32> | channelIds | The list of channel ids related to this row of data. |
System.Byte[] | data | The data i.e. a packet of samples for channels in the row at the specified timestamp. |
System.Boolean | notifyClient |
Remarks
SlowRow data can be added to a Live Session, and to an Historic Session if it does not clash with existing timestamps.
Exceptions
Type | Condition |
---|---|
System.ObjectDisposedException | Thrown when an attempt is made to invoke this method on a session that has been closed. |
AddRowData(UInt32, Int64[], Byte[], Int32, Boolean)
Adds a set of row data samples to the specified channel.
Declaration
public abstract void AddRowData(uint channelId, long[] timestamps, byte[] data, int channelSizeInBytes, bool notifyClient)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | channelId | The channel identifier. |
System.Int64[] | timestamps | The timestamps. |
System.Byte[] | data | The data. Length must be at least the number of timestamps multiplied by channelSizeInBytes. |
System.Int32 | channelSizeInBytes | Size of the channel. |
System.Boolean | notifyClient | if set to |
Remarks
SlowRow data can be added to a Live Session, and to an Historic Session if it does not clash with existing timestamps.
AddScalarData(UInt32, Byte[])
Adds scalar data from a DTV Offload.
Declaration
public abstract void AddScalarData(uint channelId, byte[] data)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | channelId | The channel id of theIChannel being written to. |
System.Byte[] | data | The data. |
Exceptions
Type | Condition |
---|---|
System.ObjectDisposedException | Thrown when an attempt is made to invoke this method on a session that has been closed. |
AddSynchroChannelData(Int64, UInt32, Byte, UInt32, Byte[])
Adds synchro data for a channel.
Declaration
public abstract void AddSynchroChannelData(long timestamp, uint channelId, byte sequenceNumber, uint deltaScale, byte[] data)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | timestamp | Timestamp of first sample of data in dataToWrite |
System.UInt32 | channelId | Channel id |
System.Byte | sequenceNumber | Number of samples in dataToWrite |
System.UInt32 | deltaScale | The scale to multiply deltas by |
System.Byte[] | data | Samples and deltas stored as UInt sample, delta, sample, data..... |
Remarks
The timestamp of the first sample is the base value passed in the channel list. Sequence delta 2 defines the timestamp of the second sample from the timestamp of the first sample; the sequence delta 3 defines the timestamp of the third sample from the second, and so on.
AssociateWithChild(SessionKey, String, String, Int32)
To associate with child using extended associate.
Declaration
public abstract void AssociateWithChild(SessionKey childSessionKey, string associateName, string associateGroup, int versionNumber)
Parameters
Type | Name | Description |
---|---|---|
SessionKey | childSessionKey | The child session key. |
System.String | associateName | The associate name. |
System.String | associateGroup | The associate group. |
System.Int32 | versionNumber | The version number. |
AssociateWithParent(SessionKey)
Associates this session with a parent session.
Declaration
public abstract void AssociateWithParent(SessionKey parentSessionKey)
Parameters
Type | Name | Description |
---|---|---|
SessionKey | parentSessionKey | The parent SessionKey. |
Remarks
Child sessions can be associated with this session using the MESL.SqlRace.Domain.Collections.SessionRepositoryAssociateCollection. e.g. Associates.Add(newSessionKey)
Exceptions
Type | Condition |
---|---|
System.ArgumentException | Thrown when the parentSessionKey passed is the same as the key for this session instance. |
AssociateWithParent(SessionKey, String, Int32)
To associate with parent using extended associate.
Declaration
public abstract void AssociateWithParent(SessionKey parentSessionKey, string associateName, int versionNumber)
Parameters
Type | Name | Description |
---|---|---|
SessionKey | parentSessionKey | The parent session key. |
System.String | associateName | The associate name. |
System.Int32 | versionNumber | The version number. |
AssociateWithParent(SessionKey, String, String, Int32)
To associate with parent using extended associate.
Declaration
public abstract void AssociateWithParent(SessionKey parentSessionKey, string associateName, string associateGroup, int versionNumber)
Parameters
Type | Name | Description |
---|---|---|
SessionKey | parentSessionKey | The parent session key. |
System.String | associateName | The associate name. |
System.String | associateGroup | The associate group. |
System.Int32 | versionNumber | The version number. |
ContainsParameter(String)
Does this Session contain the specified Parameter.
Declaration
public abstract bool ContainsParameter(string parameterIdentifier)
Parameters
Type | Name | Description |
---|---|---|
System.String | parameterIdentifier | Parameter Identifier. |
Returns
Type | Description |
---|---|
System.Boolean | Whether the parameter exists in this session. |
CreateConfiguration()
Creates a ConfigurationSet that can be used to add configuration.
Declaration
public abstract ConfigurationSet CreateConfiguration()
Returns
Type | Description |
---|---|
ConfigurationSet |
Remarks
TODO: Return type should be IConfigurationSet
CreateConstantParameterDataAccess(String)
Creates a PDA that allows the current value of a named constant to be output.
Declaration
public abstract ParameterDataAccessBase CreateConstantParameterDataAccess(string constantName)
Parameters
Type | Name | Description |
---|---|---|
System.String | constantName | Name of the constant. |
Returns
Type | Description |
---|---|
ParameterDataAccessBase | Returns PDA for a constant. |
CreateParameterDataAccess(String)
Returns a ParameterDataAccessBase object which can then be used to read the session's parameter data.
Declaration
public abstract ParameterDataAccessBase CreateParameterDataAccess(string parameterIdentifier)
Parameters
Type | Name | Description |
---|---|---|
System.String | parameterIdentifier | The parameter identifier. |
Returns
Type | Description |
---|---|
ParameterDataAccessBase | An instantiated ParameterDataAccess object |
CreateParameterDataAccess(String, IList<UInt32>)
Returns a ParameterDataAccess object which can then be used to read the session's parameter data.
Declaration
public abstract ParameterDataAccessBase CreateParameterDataAccess(string parameterIdentifier, IList<uint> channelIds)
Parameters
Type | Name | Description |
---|---|---|
System.String | parameterIdentifier | The parameter identifier. |
System.Collections.Generic.IList<System.UInt32> | channelIds | A list of explicit channels than should be merged from the channels within the parameter. |
Returns
Type | Description |
---|---|
ParameterDataAccessBase | An instantiated ParameterDataAccess object. |
Exceptions
Type | Condition |
---|---|
System.ObjectDisposedException | Thrown when an attempt is made to invoke this method on a session that has been closed. |
Flush()
Flushes all the session data from the cache
Declaration
public abstract void Flush()
Remarks
This method is optional and can be called anytime before Session.Close() is called
GetConversion(String)
Return the conversion stored in the Session._uniqueConversions
Declaration
public abstract ConversionBase GetConversion(string conversionName)
Parameters
Type | Name | Description |
---|---|---|
System.String | conversionName | Name of the conversion. |
Returns
Type | Description |
---|---|
ConversionBase | Conversion with the specified name |
GetErrorData(Int64, Int64)
Retrieve Error Data for this Session
Declaration
public abstract IEnumerable<ErrorData> GetErrorData(long startTime, long endTime)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | startTime | The start time. |
System.Int64 | endTime | The end time. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ErrorData> |
GetErrorDataForApplicationGroups(Int64, Int64, IEnumerable<String>)
Retrieve Error Data for this Session for the specified ApplicationGroup Names
Declaration
public abstract IEnumerable<ErrorData> GetErrorDataForApplicationGroups(long startTime, long endTime, IEnumerable<string> groups)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | startTime | The start time. |
System.Int64 | endTime | The end time. |
System.Collections.Generic.IEnumerable<System.String> | groups | The application group names. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ErrorData> |
GetErrorDataForIdentifiers(Int64, Int64, IEnumerable<String>)
Retrieve Error Data for this Session for the specified current/logger parameter identifiers
Declaration
public abstract IEnumerable<ErrorData> GetErrorDataForIdentifiers(long startTime, long endTime, IEnumerable<string> identifiers)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | startTime | The start time. |
System.Int64 | endTime | The end time. |
System.Collections.Generic.IEnumerable<System.String> | identifiers | The current/logger parameter identifiers |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ErrorData> |
GetEventData(Int64, Int64)
Retrieve Event data for session along with associated session.
Declaration
public abstract IEnumerable<Event> GetEventData(long startTime, long endTime)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | startTime | Start time of requested time range |
System.Int64 | endTime | End time of requested time range |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Event> |
GetEventDefinition(String)
Gets the event definition.
Declaration
public abstract EventDefinition GetEventDefinition(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The id/group pair identifying the definition. |
Returns
Type | Description |
---|---|
EventDefinition | Event definitions. |
GetLapsInRange(Int64, Int64)
Gets the laps in range.
Declaration
public abstract IReadOnlyList<Lap> GetLapsInRange(long startTime, long endTime)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | startTime | The start time. |
System.Int64 | endTime | The end time. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<Lap> |
GetNextUniqueFunctionId(String)
Returns the next parameter Id in the format parameterName:parameterApp:fN
where fN is the next sequential number for the given function parameterId
Declaration
public abstract string GetNextUniqueFunctionId(string parameterId)
Parameters
Type | Name | Description |
---|---|---|
System.String | parameterId |
Returns
Type | Description |
---|---|
System.String |
GetParameter(String)
Returns the parameter with the specified identifier.
Declaration
public abstract ParameterBase GetParameter(string parameterIdentifier)
Parameters
Type | Name | Description |
---|---|---|
System.String | parameterIdentifier | Name of the parameter identifier. |
Returns
Type | Description |
---|---|
ParameterBase | ParameterBase with the specified identifier. |
Remarks
Throws an ArgumentNullException if no matching parameter is found.
GetParameterOrDefault(String)
Returns the parameter with the specified identifier.
Declaration
public abstract ParameterBase GetParameterOrDefault(string parameterIdentifier)
Parameters
Type | Name | Description |
---|---|---|
System.String | parameterIdentifier | Name of the parameter identifier. |
Returns
Type | Description |
---|---|
ParameterBase | ParameterBase with the specified identifier or null if no matching parameter is found. |
GetParametersForGroup(String)
Gets the parameters for an ApplicationGroup or ParameterGroup. This is the list of Parameters filtered by RDA
Declaration
public abstract IReadOnlyList<ParameterBase> GetParametersForGroup(string group)
Parameters
Type | Name | Description |
---|---|---|
System.String | group | The ApplicationGroup Name, or ParameterGroup Identifier. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<ParameterBase> |
GetSessionTransientState()
Gets the current transient state of the session
Declaration
public abstract bool GetSessionTransientState()
Returns
Type | Description |
---|---|
System.Boolean |
IsInError(String, Int64)
Determines whether the Parameter data [is in error] for [the specified identifier] at the specified timestamp.
Declaration
public abstract bool IsInError(string identifier, long time)
Parameters
Type | Name | Description |
---|---|---|
System.String | identifier | The Parameter identifier. |
System.Int64 | time | The time in nanoseconds. |
Returns
Type | Description |
---|---|
System.Boolean | True if the data is in Error |
LoadConfiguration()
Loads configuration for this session if it has not already been previously loaded.
Declaration
public abstract void LoadConfiguration()
LoadParameters(IEnumerable<String>)
Loads configuration for the parameterIdentifiers.
Declaration
public abstract void LoadParameters(IEnumerable<string> parameterIdentifiers)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<System.String> | parameterIdentifiers | parameter identifiers required |
LoadRemainingParameters()
Load all the parameters not loaded when the session configuration is loaded.
Declaration
public abstract void LoadRemainingParameters()
MarkSessionAsTransient(Boolean)
Set/clear the transient state for the session
Declaration
public abstract void MarkSessionAsTransient(bool transient)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | transient |
RecalculateParameters()
Recalculate parameters for session.
Declaration
public abstract void RecalculateParameters()
RemoveFilter(String)
Remove the active filter from the list if present
Declaration
public abstract void RemoveFilter(string filterParameterId)
Parameters
Type | Name | Description |
---|---|---|
System.String | filterParameterId |
ResetRowData(UInt32)
Reset row data for channel.
Declaration
public abstract void ResetRowData(uint channelId)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | channelId | The channel. |
ResolveString(String)
Resolve identifier/session detail dollar string based on given input.
Declaration
public abstract string ResolveString(string unresolvedIdentifier)
Parameters
Type | Name | Description |
---|---|---|
System.String | unresolvedIdentifier | Unresolved identifier e.g "$NDriverInitial1$$NDriverInitial2$$NDriverInitial3$-%c" |
Returns
Type | Description |
---|---|
System.String | Resolved identifier e.g "ALO-Brazil" |
Remarks
This API is used from external software to resolve the identifier. e.g The timeline in A9 can add the unresolved identifier which needs to be resolved.
SetCoverageCursor(Int64)
Sets the coverage cursor for the session.
Declaration
public abstract void SetCoverageCursor(long timestamp)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | timestamp | The coverage cursor. |
SetEndTime(Int64)
Sets the end time.
Declaration
public abstract void SetEndTime(long endTime)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | endTime | The end time. |
SetStartTime(Int64)
Gets the current transient state of the session
Declaration
public abstract void SetStartTime(long startTime)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | startTime | The start time. |
Events
ApplicationGroupsAdded
Event fired when application groups are added
Declaration
public abstract event EventHandler<SessionEventArgs> ApplicationGroupsAdded
Event Type
Type | Description |
---|---|
System.EventHandler<SessionEventArgs> |
CanDataAdded
Gets the Can data for specified bus within a session.
Declaration
public abstract event EventHandler<ItemCanArgs> CanDataAdded
Event Type
Type | Description |
---|---|
System.EventHandler<ItemCanArgs> |
ChannelsAdded
Event fired when channels are added
Declaration
public abstract event EventHandler<SessionEventArgs> ChannelsAdded
Event Type
Type | Description |
---|---|
System.EventHandler<SessionEventArgs> |
ConfigurationProcessed
Event fired when configuration has been processed (validated and queued for persistence).
Declaration
public abstract event EventHandler<SessionEventArgs> ConfigurationProcessed
Event Type
Type | Description |
---|---|
System.EventHandler<SessionEventArgs> |
ConversionsAdded
Event fired when conversions are added
Declaration
public abstract event EventHandler<SessionEventArgs> ConversionsAdded
Event Type
Type | Description |
---|---|
System.EventHandler<SessionEventArgs> |
ErrorDataAdded
Event fired when error data is added.
Declaration
public abstract event EventHandler<ItemErrorArgs> ErrorDataAdded
Event Type
Type | Description |
---|---|
System.EventHandler<ItemErrorArgs> |
ErrorDefinitionsAdded
Event fired when Error Definitions are added
Declaration
public abstract event EventHandler<SessionEventArgs> ErrorDefinitionsAdded
Event Type
Type | Description |
---|---|
System.EventHandler<SessionEventArgs> |
EventDataAdded
Event fired when event data is added.
Declaration
public abstract event EventHandler<ItemEventArgs> EventDataAdded
Event Type
Type | Description |
---|---|
System.EventHandler<ItemEventArgs> |
EventDefinitionsAdded
Event fired when event definitions are added
Declaration
public abstract event EventHandler<SessionEventArgs> EventDefinitionsAdded
Event Type
Type | Description |
---|---|
System.EventHandler<SessionEventArgs> |
FunctionParametersAdded
Event fired when function parameters are added.
Declaration
public abstract event EventHandler<SessionEventArgs> FunctionParametersAdded
Event Type
Type | Description |
---|---|
System.EventHandler<SessionEventArgs> |
FunctionParametersRemoved
Event fired when function parameters are removed.
Declaration
public abstract event EventHandler<SessionEventArgs> FunctionParametersRemoved
Event Type
Type | Description |
---|---|
System.EventHandler<SessionEventArgs> |
LapCompleted
Event fired when lap completion happens (i.e. when lap is added which causes the end time for the previous lap to be calculated).
Declaration
public abstract event EventHandler<LapEventArgs> LapCompleted
Event Type
Type | Description |
---|---|
System.EventHandler<LapEventArgs> |
LapStarted
Event fired when a new lap starts (i.e. when a new lap is added.
Declaration
public abstract event EventHandler<LapEventArgs> LapStarted
Event Type
Type | Description |
---|---|
System.EventHandler<LapEventArgs> |
LapStatisticsCompleted
Event fired when Lap Statistics calculation has completed
Declaration
public abstract event EventHandler<LapStatisticsEventArgs> LapStatisticsCompleted
Event Type
Type | Description |
---|---|
System.EventHandler<LapStatisticsEventArgs> |
LapStatisticsPersisted
Event fired when bactch of Lap Statistics has persisted
Declaration
public abstract event EventHandler<LapStatisticsEventArgs> LapStatisticsPersisted
Event Type
Type | Description |
---|---|
System.EventHandler<LapStatisticsEventArgs> |
MarkerAdded
Event fired when a marker is added to the Marker collection
Declaration
public abstract event EventHandler<ItemEventArgs> MarkerAdded
Event Type
Type | Description |
---|---|
System.EventHandler<ItemEventArgs> |
MessagingErrorOccurred
Event fired when an error occurs on a remote connection using messaging
Declaration
public abstract event EventHandler<MessagingErrorEventArgs> MessagingErrorOccurred
Event Type
Type | Description |
---|---|
System.EventHandler<MESL.SqlRace.Messaging.Interface.MessagingErrorEventArgs> |
NewDataArrived
In live mode or in deferred data request, notify when new data is ready.
Declaration
public abstract event EventHandler<SessionEventArgs> NewDataArrived
Event Type
Type | Description |
---|---|
System.EventHandler<SessionEventArgs> |
NewFastestLap
Event fired when the fastest lap changes
Declaration
public abstract event EventHandler<LapEventArgs> NewFastestLap
Event Type
Type | Description |
---|---|
System.EventHandler<LapEventArgs> |
OnAddChannelDataError
Occurs when there has been an error adding channel data to this Session.
Declaration
public abstract event EventHandler<AddChannelDataErrorEventArgs> OnAddChannelDataError
Event Type
Type | Description |
---|---|
System.EventHandler<AddChannelDataErrorEventArgs> |
OnDisposed
Occurs when the session is disposed
Declaration
public abstract event EventHandler OnDisposed
Event Type
Type | Description |
---|---|
System.EventHandler |
ParametersAdded
Event fired when parameters are added.
Declaration
public abstract event EventHandler<SessionEventArgs> ParametersAdded
Event Type
Type | Description |
---|---|
System.EventHandler<SessionEventArgs> |
RdaEventDefinitionsChanged
Fired when the RDA EventDefinitions have changed as a result of processing an unlock list checksum.
Declaration
public abstract event EventHandler<SessionEventArgs> RdaEventDefinitionsChanged
Event Type
Type | Description |
---|---|
System.EventHandler<SessionEventArgs> |
RdaParametersChanged
Fired when the RDA Parameters have changed as a result of processing an unlock list checksum.
Declaration
public abstract event EventHandler<SessionEventArgs> RdaParametersChanged
Event Type
Type | Description |
---|---|
System.EventHandler<SessionEventArgs> |
SessionClosed
Event fired when session is closed.
Declaration
public abstract event EventHandler<SessionClosedArgs> SessionClosed
Event Type
Type | Description |
---|---|
System.EventHandler<SessionClosedArgs> |
SessionDetailChangedEventOccurred
Event fired when the session detail item is changed.
Declaration
public abstract event EventHandler<SessionDetailChangedEventArgs> SessionDetailChangedEventOccurred
Event Type
Type | Description |
---|---|
System.EventHandler<SessionDetailChangedEventArgs> |
SessionIdentifierChangedEventOccurred
Event fired when the session identifier changes.
Declaration
public abstract event EventHandler<SessionIdentifierChangedEventArgs> SessionIdentifierChangedEventOccurred
Event Type
Type | Description |
---|---|
System.EventHandler<SessionIdentifierChangedEventArgs> |
SessionNotAvailableEventOccurred
Event fired when a message is received for a session that is no longer available.
Declaration
public abstract event EventHandler<SessionNotAvailableEventArgs> SessionNotAvailableEventOccurred
Event Type
Type | Description |
---|---|
System.EventHandler<SessionNotAvailableEventArgs> |
SessionStartTimeChanged
Event fired when Session Start Time is updated to a value earlier than the current start time
Declaration
public abstract event EventHandler<SessionStartTimeChangedEventArgs> SessionStartTimeChanged
Event Type
Type | Description |
---|---|
System.EventHandler<SessionStartTimeChangedEventArgs> |
SessionStatusChangedEventOccurred
Event fired when the session status changes.
Declaration
public abstract event EventHandler<SessionStatusChangedEventArgs> SessionStatusChangedEventOccurred
Event Type
Type | Description |
---|---|
System.EventHandler<SessionStatusChangedEventArgs> |
TelemetryStarted
Event fired when the first piece of data is written to the session.
Declaration
public abstract event EventHandler<EventArgs> TelemetryStarted
Event Type
Type | Description |
---|---|
System.EventHandler<System.EventArgs> |