Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.

ID: 21948, State Pattern

by Shaun Parry Email: Anonymous

Implemented from the GoF book "Design Patterns" for Delphi
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 1.0  to 7.0 734 downloads
Copyright: No significant restrictions

Size: 753 bytes
Updated on Tue, 13 Sep 2005 07:17:56 GMT
Originally uploaded on Tue, 13 Jul 2004 06:35:40 GMT
MD5 Hash: 2761D42174322000EE85671E9B3723FE

    Explore the files in this upload

State Pattern allows you to change the functionality of a class by changing it's internal state.

Easy to use

MyConnection := TABConnection.Create;
MyConnection.Connect('Username', 'Password');
Edit1.Text := MyConnection.SessionID; // Returns a valid session id
MyConnection.Execute('', xmlStr); // Returns "This is OK"

Edit1.Text := MyConnection.SessionID;
MyConnection.Execute('', xmlStr); // Returns "Not Connected"

For more information, see None

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC03