Namespace: OtlTask

Interface IOmniTask

All Known Implementing Classes:
TOmniTask

public interface IOmniTask

Persistent
False

Property Summary
  public  OtlSync.IOmniCancellationToken CancellationToken
 
  public  OtlComm.IOmniCommunicationEndpoint Comm
 
  public  OtlCommon.IOmniCounter Counter
 
  public  TObject Implementor
 
  public  TSynchroObject Lock
 
  public  string Name
 
  public  OtlCommon.TOmniValueContainer Param
 
  public  OtlSync.TOmniTransitionEvent TerminateEvent
 
  public  IInterface ThreadData
 
  public  int64 UniqueID
 
 

Method Summary
  public Sub ClearTimer(timerID: integer)
 
  public Sub Enforced(forceExecution: boolean)
 
  public function OtlSync.IOmniCancellationToken GetCancellationToken()
 
  public function OtlComm.IOmniCommunicationEndpoint GetComm()
 
  public function OtlCommon.IOmniCounter GetCounter()
 
  public function TObject GetImplementor()
 
  public function TSynchroObject GetLock()
 
  public function string GetName()
 
  public function OtlCommon.TOmniValueContainer GetParam()
 
  public function OtlSync.TOmniTransitionEvent GetTerminateEvent()
 
  public function IInterface GetThreadData()
 
  public function int64 GetUniqueID()
 
  public Sub Invoke(remoteFunc: TOmniTaskInvokeFunction )
 
  public Sub RegisterComm(comm: OtlComm.IOmniCommunicationEndpoint )
 
  public Sub RegisterWaitObject(waitObject: OtlSync.TOmniTransitionEvent ; responseHandler: TOmniWaitObjectMethod )
 
  public Sub SetException(exceptionObject: pointer)
 
  public Sub SetExitStatus(exitCode: integer; exitMessage: string)
 
  public Sub SetNUMANode(numaNodeNumber: integer)
 
  public Sub SetProcessorGroup(procGroupNumber: integer)
 
  public Sub SetTimer(interval_ms: cardinal)
 
  public Sub SetTimer(interval_ms: cardinal; timerMessage: OtlCommon.TOmniMessageID )
 
  public Sub SetTimer(timerID: integer; interval_ms: cardinal; timerMessage: OtlCommon.TOmniMessageID )
 
  public function boolean Stopped()
 
  public Sub StopTimer()
 
  public Sub Terminate()
 
  public function boolean Terminated()
 
  public Sub UnregisterComm(comm: OtlComm.IOmniCommunicationEndpoint )
 
  public Sub UnregisterWaitObject(waitObject: OtlSync.TOmniTransitionEvent )
 
 

Property Detail

CancellationToken

public CancellationToken: OtlSync.IOmniCancellationToken 
Type
IOmniCancellationToken
Access
read

Comm

public Comm: OtlComm.IOmniCommunicationEndpoint 
Type
IOmniCommunicationEndpoint
Access
read

Counter

public Counter: OtlCommon.IOmniCounter 
Type
IOmniCounter
Access
read

Implementor

public Implementor: TObject
Type
TObject
Access
read

Lock

public Lock: TSynchroObject
Type
TSynchroObject
Access
read

Name

public Name: string
Type
string
Access
read

Param

public Param: OtlCommon.TOmniValueContainer 
Type
TOmniValueContainer
Access
read

TerminateEvent

public TerminateEvent: OtlSync.TOmniTransitionEvent 
Type
TOmniTransitionEvent
Access
read

ThreadData

public ThreadData: IInterface
Type
IInterface
Access
read

UniqueID

public UniqueID: int64
Type
int64
Access
read

Method Detail

ClearTimer

public procedure ClearTimer(timerID: integer)
Reintroduce
False

Enforced

public procedure Enforced(forceExecution: boolean)
Reintroduce
False

GetCancellationToken

public function GetCancellationToken(): OtlSync.IOmniCancellationToken 
Reintroduce
False
Returns
IOmniCancellationToken

GetComm

public function GetComm(): OtlComm.IOmniCommunicationEndpoint 
Reintroduce
False
Returns
IOmniCommunicationEndpoint

GetCounter

public function GetCounter(): OtlCommon.IOmniCounter 
Reintroduce
False
Returns
IOmniCounter

GetImplementor

public function GetImplementor(): TObject
Reintroduce
False
Returns
TObject

GetLock

public function GetLock(): TSynchroObject
Reintroduce
False
Returns
TSynchroObject

GetName

public function GetName(): string
Reintroduce
False
Returns
string

GetParam

public function GetParam(): OtlCommon.TOmniValueContainer 
Reintroduce
False
Returns
TOmniValueContainer

GetTerminateEvent

public function GetTerminateEvent(): OtlSync.TOmniTransitionEvent 
Reintroduce
False
Returns
TOmniTransitionEvent

GetThreadData

public function GetThreadData(): IInterface
Reintroduce
False
Returns
IInterface

GetUniqueID

public function GetUniqueID(): int64
Reintroduce
False
Returns
int64

Invoke

public procedure Invoke(remoteFunc: TOmniTaskInvokeFunction )
Reintroduce
False

RegisterComm

public procedure RegisterComm(comm: OtlComm.IOmniCommunicationEndpoint )
Reintroduce
False

RegisterWaitObject

public procedure RegisterWaitObject(waitObject: OtlSync.TOmniTransitionEvent ; responseHandler: TOmniWaitObjectMethod )
Reintroduce
False

SetException

public procedure SetException(exceptionObject: pointer)
Reintroduce
False

SetExitStatus

public procedure SetExitStatus(exitCode: integer; exitMessage: string)
Reintroduce
False

SetNUMANode

public procedure SetNUMANode(numaNodeNumber: integer)
Reintroduce
False

SetProcessorGroup

public procedure SetProcessorGroup(procGroupNumber: integer)
Reintroduce
False

SetTimer

public procedure SetTimer(interval_ms: cardinal)
Reintroduce
True

SetTimer

public procedure SetTimer(interval_ms: cardinal; timerMessage: OtlCommon.TOmniMessageID )
Reintroduce
True

SetTimer

public procedure SetTimer(timerID: integer; interval_ms: cardinal; timerMessage: OtlCommon.TOmniMessageID )
Reintroduce
False

Stopped

public function Stopped(): boolean
Reintroduce
False
Returns
boolean

StopTimer

public procedure StopTimer()
Reintroduce
False

Terminate

public procedure Terminate()
Reintroduce
False

Terminated

public function Terminated(): boolean
Reintroduce
False
Returns
boolean

UnregisterComm

public procedure UnregisterComm(comm: OtlComm.IOmniCommunicationEndpoint )
Reintroduce
False

UnregisterWaitObject

public procedure UnregisterWaitObject(waitObject: OtlSync.TOmniTransitionEvent )
Reintroduce
False

Association Link

to Interface IOmniCancellationToken

Supplier
IOmniCancellationToken
Directed
False
Client
CancellationToken
Type
association

to Interface IOmniCommunicationEndpoint

Supplier
IOmniCommunicationEndpoint
Directed
False
Client
Comm
Type
association

to Interface IOmniCounter

Supplier
IOmniCounter
Directed
False
Client
Counter
Type
association

to Class TOmniValueContainer

Supplier
TOmniValueContainer
Directed
False
Client
Param
Type
association

to Class TOmniTransitionEvent

Supplier
TOmniTransitionEvent
Directed
False
Client
TerminateEvent
Type
association