aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-01-06 18:06:53 +0000
committerJustin Clarke Casey2009-01-06 18:06:53 +0000
commit715a776f7d62d2af7610dbd3137e3e753fdbc25c (patch)
tree0800abc6a4c7f875c47af19586c79b3aedd79e4c /OpenSim/Framework
parent* Yeah, might just want to add the new class as well - sigh (diff)
downloadopensim-SC_OLD-715a776f7d62d2af7610dbd3137e3e753fdbc25c.zip
opensim-SC_OLD-715a776f7d62d2af7610dbd3137e3e753fdbc25c.tar.gz
opensim-SC_OLD-715a776f7d62d2af7610dbd3137e3e753fdbc25c.tar.bz2
opensim-SC_OLD-715a776f7d62d2af7610dbd3137e3e753fdbc25c.tar.xz
* Move common string aggregation for caps seed path to a method in CapsUtil
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/Communications/Capabilities/CapsUtil.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/Capabilities/CapsUtil.cs b/OpenSim/Framework/Communications/Capabilities/CapsUtil.cs
index cbd6465..27ce402 100644
--- a/OpenSim/Framework/Communications/Capabilities/CapsUtil.cs
+++ b/OpenSim/Framework/Communications/Capabilities/CapsUtil.cs
@@ -35,6 +35,16 @@ namespace OpenSim.Framework.Communications.Capabilities
35 /// </summary> 35 /// </summary>
36 public class CapsUtil 36 public class CapsUtil
37 { 37 {
38 /// <summary>
39 /// Generate a CAPS seed path using a previously generated CAPS object path component
40 /// </summary>
41 /// <param name="capsKey"></param>
42 /// <returns></returns>
43 public static string GetCapsSeedPath(string capsObjectPath)
44 {
45 return "/CAPS/" + capsKey + "0000/";
46 }
47
38 public static string GetRandomCapsPath() 48 public static string GetRandomCapsPath()
39 { 49 {
40 UUID caps = UUID.Random(); 50 UUID caps = UUID.Random();