Declaration

function EstablishConnection(aTransportID: TnxTransportID; const aUserName: string; const aPassword: string; aTimeOut: Integer; aClientVersion: Integer; out aServerVersion: Integer; out aSessionID: TnxSessionID): TnxResult; override;

 
Description

This function establishes a connection and returns the session id. This function sends a request to the server and then waits for the reply.

 
Parameters

aTransportID: TnxTransportID

the id of the transport

const aUserName: string

the user name used to connect

const aPassword: string

the password used to connect

aTimeOut: Integer

timeout in msec

out aSessionID: TnxSessionID

the session id for the connection

Home | Site Contents | Documentation | NexusDB Manual V4 | Class Reference | Symbol Reference | Classes | TnxBaseSecuredTransport