Hyderabad Jobs Book Website FREE PowerBuilder Training I Love Hyderabad Hyderabad Colleges
Home Business Emails Hyderabad Classifieds Contact Us
7 Wonders of Hyderabad Web Hosting Yellow Pages Our Network

 
Webpowerbuilder.hyderabad-colleges.com

Mastering PowerBuilder

HomePrevious Lesson: Communication Drivers
Next Lesson: Transport Object Properties

Transport Object

Transport object is Class object (Non Visual) used in the server application to listen requests from PowerBuilder clients. You can create multiple instances of this object on the server and set each object driver to a different one, say one is WinSock and another NamedPipes. This allows the server to listen from clients using different drivers. If there are many client connections and want to boost performance, you can create multiple instances of Transport object and assign each instance to a different port.

The usage of this object is similar to the Connection object.

  • Create a User Object of type Transport
  • Define events/functions to start/stop listening, initialization, error handling
  • Declare a global variable (array) of the User Object you created in the earlier step
  • Create an instance of Transport object
  • Set various attributes
  • Call Listen() function to start listening requests from client applications.

If you are creating only one instance of the Transport object, then make sure the driver specified in Transport object is same as the one in the Connection object.
HomePrevious Lesson: Communication Drivers
Next Lesson: Transport Object Properties

Copyright © 1996 - 2006 HamaraShehar.com Pvt. Ltd. All Rights Reserved.
Domain Registration, Website Design, Website Hosting by HamaraShehar.com