NEW

 (Available in 01 TS COM - TS_COM_ServerInfo)

Purpose

CALLBACK: New ( OnInited event )

Arguments

...
... ( See Init() )

Description

CALLBACK: System callback after valid initialization of the created object

Can/should be overridden to do the initialization of the object, the 'Init()' method of the object is used to parse the parameters and when all inherited classes heve done there 'Init()' method, the object is considered to be in a stable state. When all inhertied 'Init()' methods are called the the 'New()' method will be called ( only if the object is valid ).

This works like a 'real' constructor and 'OnInited' event, and it gives the oportunity to write more stable code, due to the fact that all inherited 'Init()' methods are called and validated before the real work starts.

Important! This is a event send by the library. Normally, it should not be called in/by your application code.

Source

METHOD NEW( usymNameSym ) CLASS TS_ServerInfo
   TSTrace Enter
   SELF:_ObjectStat1:=_AND( SELF:_ObjectStat1 ; ...
  ... , _NOT( TS_OBJSTAT1_NEEDNEW ) )
   TSTrace Leave
RETURN SELF