TS_ISink

 (Available in 01 TS COM - TS_COM_ISink)

Purpose

Root class for al dispatch-sink-classes

Syntax

oSomeISink:=TS_ISink{ NIL, NIL, NIL, @struIID }

Access methods

AITypeLib - Get a static 'ITypeLib' COM interface pointer.
AISource - Get the source interface object
IsValidObject - Invalidate the object
ISinkIID - Get the IID of the enclosed interface.

Methods

TSTraceInfo -
Advise - Activate the sink.
INIT - Create a 'TS_ISink' instance
NEW - CALLBACK: New ( OnInited event )
Destroy - CALLBACK: It is adviced to use 'oObject:Axit()'
UnAdvise - Deactivate the sink.

Description

Root class for al dispatch-sink-classes, This class implements the 'ISink'-interface, If the methods and properties of the interface are implemented at the 'oInvokeHandler' object then this class may be uses without any added/overridden implementation.

Inherits from

TS_IDispatch

Example

See the 'Init()' METHOD

Source

CLASS TS_ISink INHERIT TS_IDispatch
   DECLARE ACCESS AISource
   DECLARE ACCESS ISinkIID
   DECLARE METHOD Advise
   DECLARE METHOD UnAdvise