This class is used to delegate events, originating from 'uoIAISource' to 'uoInvokeHandler'. If no 'uoInvokeHandler' is specified then the events are delegated to the 'ISink' instance ( SELF ).
Example
CLASS SomeIClass INHERIT TS_ISink
METHOD INIT( ..., ... ; ...
...) CLASS SomeIClass
// Less secure ( and simple ) form of an '[less]safe' init method
// It is better not to call any object method/access/assign from
// inside the init method, if needed do this form the 'New()' method.
// From here on insert you own initialization code
// Process the parameters
..., ...
IF lParameterError
TSTrace Warning "... parameter error ..."
SELF:InvalidateObject( )
END
// At this point all initialization code should be done
IF SELF:IsValidObject
// The 'New()' method will be called by the SUPER class
SUPER:INIT( ... ; ...
... , ... )
ELSE
TSTrace Warning TS_TEXT_GEN_CAN_NOT_INITIALIZE
SELF:InvalidateObject( )
END
RETURN SELF