Connect Method

Top  Previous  Next

The Connect method initializes the connection sequence process. It actually doesn't produce by itself a connection to a resource, but fires the OnConnectRemote event in order to give the change to the client program to establish the connection to the resource which will be the XML producer (a local or remote file, a local or remote TnbXMLBroker, a Web Service, etc).

 

Visual Basic Syntax

 

TNBXmlClient.Connect

 

Delphi Syntax

 

TNBXmlClient.Connect;

 

 

See also Disconnect method, OnConnectRemote, OnConnect and OnConnectionFail events.