Declaration
TnxBaseSession = class(TnxDataAccessStateComponent, IUnknown, InxSessionRequests)
Description
The mother of all sessions. It implements a component that is used the same way as Borland's TSession and adds some features unique to NexusDB.
Events
This event is triggered whenever the session is set to active and the connected server engine is in secure mode, thus requesting users to logon.
Methods
Adds a new alias. If an error occurs, it triggers an exception.
Adds a new alias and returns the error code.
This method closes all folders of the session that were kept open by the server caching mechanism.
This method closes all tables of the session that were kept open by the server caching mechanism.
constructor.
Deletes the given alias. Triggers an exception if it fails.
Deletes the given alias and returns the error code.
destructor.
Fills the given list with all alias names.
Fills the given list with all alias names and returns the error code.
Returns the path an alias points to. Remember that this is always a server relative path! The method triggers an exception if it fails.
Returns the path an alias points to. Remember that this is always a server relative path! It returns the error code as function result.
The text for this method has been generated automatically. This means that it is not documented.
The text for this method has been generated automatically. This means that it is not documented.
The text for this method has been generated automatically. This means that it is not documented.
Returns the tables of an alias in the given list.
Returns true if an alias with the given name exists, otherwise false.
This function returns true if the session is active/connected.
This function allows to change the name and/or path of an alias.
It triggers an exception if it fails.
This function allows to change the name and/or path of an alias and returns the error code.
Properties
If true, a Beep is triggered whenever a failed Login occurs.
Returns the number of tnxDatabase instances assigned to the session.
Returns the instance of tnxDatabase with index aInx in the list of assigned databases.
The password for the session. It is only used when the connected Server Engine is in secure mode.
The number of retries for logon before the session returns a DBIERR_INVALIDUSRPASS error is triggered.
Returns the Server Engine the session is connected to. Note, that this is read only in the base class. The Set method might be implemented in descendants.
The text for this property has been generated automatically. This means that it is not documented.
Sets the Timeout for the Session commands (in ms).
The user name for the session. It is only used when the connected Server Engine is in secure mode.
File