JVCL Help:TJvMTAsyncBufferBase.Read

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Retrieves an object from the buffer.


Pascal

 functionRead: TObject;


Return Value

The item read from the buffer


Description

Waits for an object to arrive in the buffer and returns it. The caller takes owner ship of the object and is thus responsible for destroying it when needed. The function can return nil pointer if this was put into the buffer using Write. Can raise EMTTerminate. Call Read to remove and return the next item in the buffer.


See Also

TJvMTAsyncBufferBase.Write


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page