Datasnap.DSTCPServerTransport.TDSTCPServerTransport.Notification
Delphi
procedure Notification(AComponent: TComponent; Operation: TOperation);
C++
virtual void __fastcall Notification(System::Classes::TComponent* AComponent, System::Classes::TOperation Operation);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Datasnap.DSTCPServerTransport.pas Datasnap.DSTCPServerTransport.hpp |
Datasnap.DSTCPServerTransport | TDSTCPServerTransport |
Description
Responds when components are created or destroyed.
Do not call the Notification method in an application. Notification is called automatically when the component specified by AComponent is about to be inserted or removed, as specified by the Operation parameter.
TDSTCPServerTransport overrides the Notification method to check whether the component that is the value of the Server property is about to be freed. If so, it sets the Server property to nil (Delphi) or NULL (C++).