The TRONamedEventData class allows to identify TROEventData using context specific information.
When your event handler (an instance of the IROValidatedSessionsChangesListener) calls the (IROValidatedSessionsChangesListener) interface, it has to know which data was successfully transferred. For this purpose, the argument aId of the EventSucceeded contains the value of the ID property of an event.
Data (declared in TROEventData)
Represents the data that is associated with the current event. The Data property contains the information from the message that was passed from the server to the client. The Data property has a specified format: header and source. The header contains the clients ID, message type and information about the compression of the current message. The source contains the information from the message in encrypted or non-encrypted form.
property Data: TStream read write
Determines which data has reported success when the IROValidatedSessionsChangesListener interface is called.
property ID: TGUID read write
constructor Create (declared in TROEventData)
Creates a new instance, saves the anEventDataStream to the Data property and sets the reference count of the Data property to 1.
constructor Create(anEventDataStream: TMemoryStream)
AddRef (declared in TROEventData)
Increments the reference count of the Data property by 1.
function AddRef: integer
RemoveRef (declared in TROEventData)
Decrements the reference count of the Data property by 1.
function RemoveRef: integer