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 write

HandlesEventSink

function HandlesEventSink(const aEventSinkId: string): boolean

Parameters:

  • aEventSinkId:

Head

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 write

Tail

Specifies the last object.

property Tail: TROSessionRefToEventDataLink read write

 

ActiveEventReference

Active event reference.

property ActiveEventReference: IROActiveEventServerList read write

HandlesAll

property HandlesAll: boolean read write

Head

Specifies the first object.

property Head: TROSessionRefToEventDataLink read write

SessionID

Session ID

property SessionID: TGUID read write

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:

See Also