TROSessionReference

Overview

The TROSessionReference class is used for storing active events on the server side.

The TROInMemoryEventRepository and TROOlympiaEventRepository classes use the TROSessionReference class internally.

You will not use this class directly.

Location


 

constructor Create

Creates a new instance.

constructor Create(aSessionID: TGUID)

Parameters:

  • aSessionID: Session ID

ActiveEventReference

Active event reference.

property ActiveEventReference: IROActiveEventServerList read write

AddEventSink

procedure AddEventSink(const aEventSinkId: string)

Parameters:

  • aEventSinkId:

HandlesAll

property HandlesAll: Boolean read

HandlesEventSink

function HandlesEventSink(const aEventSinkId: string): Boolean

Parameters:

  • aEventSinkId:

Specifies the first object.

property Head: TROSessionRefToEventDataLink read write

IsValidHandler

function IsValidHandler: Boolean

RemoveEventSink

procedure RemoveEventSink(const aEventSinkId: string)

Parameters:

  • aEventSinkId:

SessionID

Session ID

property SessionID: TGUID read

Tail

Specifies the last object.

property Tail: TROSessionRefToEventDataLink read write

 

ActiveEventReference

Active event reference.

property ActiveEventReference: IROActiveEventServerList read write

HandlesAll

property HandlesAll: Boolean read

Specifies the first object.

property Head: TROSessionRefToEventDataLink read write

SessionID

Session ID

property SessionID: TGUID read

Tail

Specifies the last object.

property Tail: TROSessionRefToEventDataLink read write

 

constructor Create

Creates a new instance.

constructor Create(aSessionID: TGUID)

Parameters:

  • aSessionID: Session ID

AddEventSink

procedure AddEventSink(const aEventSinkId: string)

Parameters:

  • aEventSinkId:

HandlesEventSink

function HandlesEventSink(const aEventSinkId: string): Boolean

Parameters:

  • aEventSinkId:

IsValidHandler

function IsValidHandler: Boolean

RemoveEventSink

procedure RemoveEventSink(const aEventSinkId: string)

Parameters:

  • aEventSinkId: