From 715a776f7d62d2af7610dbd3137e3e753fdbc25c Mon Sep 17 00:00:00 2001
From: Justin Clarke Casey
Date: Tue, 6 Jan 2009 18:06:53 +0000
Subject: * Move common string aggregation for caps seed path to a method in
CapsUtil
---
OpenSim/Framework/Communications/Capabilities/CapsUtil.cs | 10 ++++++++++
1 file changed, 10 insertions(+)
(limited to 'OpenSim/Framework/Communications')
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
///
public class CapsUtil
{
+ ///
+ /// Generate a CAPS seed path using a previously generated CAPS object path component
+ ///
+ ///
+ ///
+ public static string GetCapsSeedPath(string capsObjectPath)
+ {
+ return "/CAPS/" + capsKey + "0000/";
+ }
+
public static string GetRandomCapsPath()
{
UUID caps = UUID.Random();
--
cgit v1.1