CryptoPressStream:
Delphi / C++Builder Streaming Compression Library
with Strong Encryption


TCPSManager.Streams
TCPSManager
Top 

Lists the stream objects registred in TCPSManager.

Delphi syntax:
property
Streams[Index: Integer]: TStream;

C++ syntax:
__property
Classes::TStream* Streams[int Index] = {read=GetStream};

Description
Use Streams to get stream objects registered in TCPSManager. You can get number of streams by Count property. You can use Add and Remove methods to add and remove streams. Streams list is thread-safe. All streams created by TCPSManager methods or with Manager parameter that points to TCPSManager object will be automatically added to the Streams list on creating and will be removed from it on destroying. When TCPSManager is being destroyed it automatically destroys all remaining streams in Streams list. It allows to avoid memory leaks.


© AidAim Software CryptoPressStream: