Public Member Functions | |
| HRESULT | GenerateCacheIIDAttr ([in] IRsNode *pNode) |
| HRESULT | RemoveCacheIIDAttr ([in] IRsNode *pNode) |
| HRESULT | GetNetCacheDir ([out, retval] BSTR *pbstrNetCacheDir) |
| HRESULT | GetObjPathInNetCacheFromIID ([in] IID iidCacheObj,[out, retval] BSTR *pbstrFilePath) |
| HRESULT | GetObjPathInNetCache ([in] BSTR bstrIIDCacheObj,[out, retval] BSTR *pbstrFilePath) |
| HRESULT | WriteObjToNetCache ([in] IRsNode *pNode,[in] IStream *pStm) |
| HRESULT | PurgeCache ([in] RtDWORD dwKeepDays) |
| HRESULT IRfNetworkCache::GenerateCacheIIDAttr | ( | [in] IRsNode * | pNode | ) |
Generate cache identification number.
| pNode | [in] Node for which you want to generate new cache IID.
|
| HRESULT IRfNetworkCache::RemoveCacheIIDAttr | ( | [in] IRsNode * | pNode | ) |
Remove cache identification attribute CON_CMD_NETWORK_MANUAL_CACHE_IID (con.name: NetManualCacheIID) so the node will no longer be cached.
| pNode | [in] Node for which you want remove cache IID.
|
| HRESULT IRfNetworkCache::GetNetCacheDir | ( | [out, retval] BSTR * | pbstrNetCacheDir | ) |
Returns Network Cache directory path.
| HRESULT IRfNetworkCache::GetObjPathInNetCacheFromIID | ( | [in] IID | iidCacheObj, | |
| [out, retval] BSTR * | pbstrFilePath | |||
| ) |
Returns Cache Full file path for specified object's cache str.IID.
| iidCacheObj | [in] Specify the object's cache IID. |
| HRESULT IRfNetworkCache::GetObjPathInNetCache | ( | [in] BSTR | bstrIIDCacheObj, | |
| [out, retval] BSTR * | pbstrFilePath | |||
| ) |
Returns Cache full file path for specified object's cache IID.
| bstrIIDCacheObj | [in] Specify the object's cache IID in string form. |
| HRESULT IRfNetworkCache::WriteObjToNetCache | ( | [in] IRsNode * | pNode, | |
| [in] IStream * | pStm | |||
| ) |
Write object into cache if it isn't written yet and if it is possible to cache.
| pNode | [in] Check if the object is supposed to be cached. If yes, save it into cache. | |
| pStm | [in] Received stream form of the object. |
| HRESULT IRfNetworkCache::PurgeCache | ( | [in] RtDWORD | dwKeepDays | ) |
Remove objects from network cache.
| dwKeepDays | [in] Only objects accessed before specified number of days will be deleted. |
1.5.5