diff options
author | lbsa71 | 2009-02-12 10:21:21 +0000 |
---|---|---|
committer | lbsa71 | 2009-02-12 10:21:21 +0000 |
commit | 61878884569f9c01b6324f9a9d9fbcac7034f536 (patch) | |
tree | 1871310b7bb4d4463feb5f456123305101090096 /OpenSim/Data/IRegionProfileService.cs | |
parent | * Turned RegionProfileService non-static (diff) | |
download | opensim-SC-61878884569f9c01b6324f9a9d9fbcac7034f536.zip opensim-SC-61878884569f9c01b6324f9a9d9fbcac7034f536.tar.gz opensim-SC-61878884569f9c01b6324f9a9d9fbcac7034f536.tar.bz2 opensim-SC-61878884569f9c01b6324f9a9d9fbcac7034f536.tar.xz |
* Renamed RegionProfileService to RegionProfileServiceProxy to better reflect actual use.
* Added IRegionProfileService
Diffstat (limited to 'OpenSim/Data/IRegionProfileService.cs')
-rw-r--r-- | OpenSim/Data/IRegionProfileService.cs | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/OpenSim/Data/IRegionProfileService.cs b/OpenSim/Data/IRegionProfileService.cs new file mode 100644 index 0000000..5aa5b58 --- /dev/null +++ b/OpenSim/Data/IRegionProfileService.cs | |||
@@ -0,0 +1,44 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using OpenMetaverse; | ||
5 | |||
6 | namespace OpenSim.Data | ||
7 | { | ||
8 | public interface IRegionProfileService | ||
9 | { | ||
10 | /// <summary> | ||
11 | /// Request sim profile information from a grid server, by Region UUID | ||
12 | /// </summary> | ||
13 | /// <param name="regionId">The region UUID to look for</param> | ||
14 | /// <param name="gridserverUrl"></param> | ||
15 | /// <param name="gridserverSendkey"></param> | ||
16 | /// <param name="gridserverRecvkey"></param> | ||
17 | /// <returns>The sim profile. Null if there was a request failure</returns> | ||
18 | /// <remarks>This method should be statics</remarks> | ||
19 | RegionProfileData RequestSimProfileData(UUID regionId, Uri gridserverUrl, | ||
20 | string gridserverSendkey, string gridserverRecvkey); | ||
21 | |||
22 | /// <summary> | ||
23 | /// Request sim profile information from a grid server, by Region Handle | ||
24 | /// </summary> | ||
25 | /// <param name="region_handle">the region handle to look for</param> | ||
26 | /// <param name="gridserver_url"></param> | ||
27 | /// <param name="gridserver_sendkey"></param> | ||
28 | /// <param name="gridserver_recvkey"></param> | ||
29 | /// <returns>The sim profile. Null if there was a request failure</returns> | ||
30 | RegionProfileData RequestSimProfileData(ulong region_handle, Uri gridserver_url, | ||
31 | string gridserver_sendkey, string gridserver_recvkey); | ||
32 | |||
33 | /// <summary> | ||
34 | /// Request sim profile information from a grid server, by Region Name | ||
35 | /// </summary> | ||
36 | /// <param name="regionName">the region name to look for</param> | ||
37 | /// <param name="gridserverUrl"></param> | ||
38 | /// <param name="gridserverSendkey"></param> | ||
39 | /// <param name="gridserverRecvkey"></param> | ||
40 | /// <returns>The sim profile. Null if there was a request failure</returns> | ||
41 | RegionProfileData RequestSimProfileData(string regionName, Uri gridserverUrl, | ||
42 | string gridserverSendkey, string gridserverRecvkey); | ||
43 | } | ||
44 | } | ||