Datasnap.DSSession.TDSSessionManager.TFactoryMethod
Delphi
TFactoryMethod = reference to function: TDSSession;
C++
__interface TFactoryMethod : public System::IInterface
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
anonMethod class |
public | Datasnap.DSSession.pas Datasnap.DSSession.hpp |
Datasnap.DSSession | TDSSessionManager |
Description
Function for creating new TDSSession instances in an implementation-specific way.
TFactoryMethod creates a new instance of TDSSession and returns it. The implementation can be anything, and the exact type/subclass of the returned session is up to the implementation.