StaObjectServer Members

Functions

Name Description
AddFile Save a file in the cache, return an id for later access. If not accessed for secondsTillExpire seconds, item will be removed from cache. Return value: String.
AddFileGetHandle Adds a file to the cache; returns a file handle duplicated into the specified process so the caller can write the file himself. Caller must call CloseHandle. Item will not expire as long as file is open. Return value: Long.
AddObject Save an object in the cache, return an id for later access. . If not accessed for secondsTillExpire seconds, item will be removed from cache. Return value: String.
CopyFile Extract a copy of the file or object to the pathname specified. Will attempt to save objects using IPersist interfaces.
GetFileHandleRead Get a file handle for read access to a file in the cache duplicated into the specified process. Allows reading the file w/o making an explicit copy as does CopyFile. Objects will be saved first with IPersist interfaces. Caller must call CloseHandle. Return value: Long.
GetObject Retrieve an object from the cache. Return value: Variant.
RemoveFromCache Remove an object or file from cache.
TouchItem Mark the cache item as recently accessed, extending its lifetime.

Properties

Name Description
None -