www.astatech.com Manual Central ASTA Users Guide Compression





Asta Technology Group
Welcome to the world of wireless enabled web services
advanced search
ASTA in 60 seconds
ASTA in action
Developer details
Free Internet tools
Demos
Business views
White papers
Tutorial center
Testimonials
Asta online help
ASTA Users Guide

Compression

Key Client Server
Properties Compression Compression
Methods    
Events OnCompress, OnDecompress OnCompress, OnDecompress

ASTA provides great flexibility for compression. In addition to giving you complete control over any compression library that you may wish to implement, ASTA ships with built-in compression that you can activate without writing a single line of code -- instant compression!

To enable the built-in compression simply set the AstaClientSocket and the AstaServerSocket's Compress property to "acAstaCompress" and recompile (you must recompile the server and the client, otherwise they will be out-of-synch).

If you wish to implement your third-party compression routines, or perhaps your own compression routines, you must use the OnCompress and OnDecompress event handlers. Your routines must be implemented on the Client and the Server. For further details, see the Encryption explanation, the OnCompress and OnDecompress event handlers are mirror the functionality of the OnEncrypt and OnDecrypt routines.

 

Last modified: 5/5/2002 6:32:17 AM
Copyright © 2001-2002 Asta Technology Group, Inc. Terms & Conditions     Privacy Policy     Site Map