Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 00036 00037 00038 00039 00040 00041 00042 00043 00044 00045 00046 00047 00048 00049 00050 |
/******************************************************************************* HttpCacheObject <br /> Physical storage of the cached data. <br /> Dcoumentation and Information: http://wiki.beyondunreal.com/wiki/LibHTTP <br /> <br /> Authors: Michiel 'El Muerte' Hendriks <elmuerte@drunksnipers.com> <br /> <br /> Copyright 2005 Michiel "El Muerte" Hendriks <br /> Released under the Lesser Open Unreal Mod License <br /> http://wiki.beyondunreal.com/wiki/LesserOpenUnrealModLicense <br /> <!-- $Id: HttpCacheObject.uc,v 1.4 2005/12/08 18:53:01 elmuerte Exp $ --> *******************************************************************************/ class HttpCacheObject extends Core.Object PerObjectConfig config(HttpCache); /** the request URL */ var config string URL; /** last modification timestamp */ var config int LastModification; /** timestamp this content expires, if provided by the server */ var config int ExpiresOn; /** the content mime type */ var config string ContentType; /** the content body */ var config array<string> Data; /** this object is currently being refreshed */ var bool bBusy; function int GetSize() { local int size, i; size = 0; for (i = 0; i < Data.length; i++) { size += Len(data[i]); } return size; } defaultproperties { ExpiresOn=-1 LastModification=-1 } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |