diff options
author | Justin Clarke Casey | 2009-04-14 17:15:09 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-04-14 17:15:09 +0000 |
commit | 1894157dd3608a15c3336efc2d58eee0de092610 (patch) | |
tree | cfecb8e2104d9a88e82670e27ecedbda0466fa88 /OpenSim/Framework/IAssetServer.cs | |
parent | * refactor: rename AssetCache.Initialize() to AssetCache.Reset() to avoid hav... (diff) | |
download | opensim-SC_OLD-1894157dd3608a15c3336efc2d58eee0de092610.zip opensim-SC_OLD-1894157dd3608a15c3336efc2d58eee0de092610.tar.gz opensim-SC_OLD-1894157dd3608a15c3336efc2d58eee0de092610.tar.bz2 opensim-SC_OLD-1894157dd3608a15c3336efc2d58eee0de092610.tar.xz |
* Explicitly start the asset server thread so that unit tests can run single rather than multi-threaded (which may be behind the occasional test freezes)
Diffstat (limited to 'OpenSim/Framework/IAssetServer.cs')
-rw-r--r-- | OpenSim/Framework/IAssetServer.cs | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/OpenSim/Framework/IAssetServer.cs b/OpenSim/Framework/IAssetServer.cs index f76d125..0a08ff6 100644 --- a/OpenSim/Framework/IAssetServer.cs +++ b/OpenSim/Framework/IAssetServer.cs | |||
@@ -37,11 +37,21 @@ namespace OpenSim.Framework | |||
37 | void Initialise(ConfigSettings settings); | 37 | void Initialise(ConfigSettings settings); |
38 | void Initialise(ConfigSettings settings, string url, string dir, bool test); | 38 | void Initialise(ConfigSettings settings, string url, string dir, bool test); |
39 | void Initialise(ConfigSettings settings, string url); | 39 | void Initialise(ConfigSettings settings, string url); |
40 | |||
41 | /// <summary> | ||
42 | /// Start the asset server | ||
43 | /// </summary> | ||
44 | void Start(); | ||
45 | |||
46 | /// <summary> | ||
47 | /// Stop the asset server | ||
48 | /// </summary> | ||
49 | void Stop(); | ||
50 | |||
40 | void SetReceiver(IAssetReceiver receiver); | 51 | void SetReceiver(IAssetReceiver receiver); |
41 | void RequestAsset(UUID assetID, bool isTexture); | 52 | void RequestAsset(UUID assetID, bool isTexture); |
42 | void StoreAsset(AssetBase asset); | 53 | void StoreAsset(AssetBase asset); |
43 | void UpdateAsset(AssetBase asset); | 54 | void UpdateAsset(AssetBase asset); |
44 | void Close(); | ||
45 | } | 55 | } |
46 | 56 | ||
47 | /// <summary> | 57 | /// <summary> |