diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Capabilities/Handlers/WebFetchInventoryDescendents/WebFetchInvDescServerConnector.cs (renamed from OpenSim/Capabilities/Handlers/FetchInventory/FetchInvDescServerConnector.cs) | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Capabilities/Handlers/FetchInventory/FetchInvDescServerConnector.cs b/OpenSim/Capabilities/Handlers/WebFetchInventoryDescendents/WebFetchInvDescServerConnector.cs index 9dcfaa4..5d86557 100644 --- a/OpenSim/Capabilities/Handlers/FetchInventory/FetchInvDescServerConnector.cs +++ b/OpenSim/Capabilities/Handlers/WebFetchInventoryDescendents/WebFetchInvDescServerConnector.cs | |||
@@ -35,13 +35,13 @@ using OpenMetaverse; | |||
35 | 35 | ||
36 | namespace OpenSim.Capabilities.Handlers | 36 | namespace OpenSim.Capabilities.Handlers |
37 | { | 37 | { |
38 | public class FetchInvDescServerConnector : ServiceConnector | 38 | public class WebFetchInvDescServerConnector : ServiceConnector |
39 | { | 39 | { |
40 | private IInventoryService m_InventoryService; | 40 | private IInventoryService m_InventoryService; |
41 | private ILibraryService m_LibraryService; | 41 | private ILibraryService m_LibraryService; |
42 | private string m_ConfigName = "CapsService"; | 42 | private string m_ConfigName = "CapsService"; |
43 | 43 | ||
44 | public FetchInvDescServerConnector(IConfigSource config, IHttpServer server, string configName) : | 44 | public WebFetchInvDescServerConnector(IConfigSource config, IHttpServer server, string configName) : |
45 | base(config, server, configName) | 45 | base(config, server, configName) |
46 | { | 46 | { |
47 | if (configName != String.Empty) | 47 | if (configName != String.Empty) |
@@ -67,13 +67,13 @@ namespace OpenSim.Capabilities.Handlers | |||
67 | m_LibraryService = | 67 | m_LibraryService = |
68 | ServerUtils.LoadPlugin<ILibraryService>(libService, args); | 68 | ServerUtils.LoadPlugin<ILibraryService>(libService, args); |
69 | 69 | ||
70 | FetchInvDescHandler webFetchHandler = new FetchInvDescHandler(m_InventoryService, m_LibraryService, null); | 70 | WebFetchInvDescHandler webFetchHandler = new WebFetchInvDescHandler(m_InventoryService, m_LibraryService); |
71 | IRequestHandler reqHandler | 71 | IRequestHandler reqHandler |
72 | = new RestStreamHandler( | 72 | = new RestStreamHandler( |
73 | "POST", | 73 | "POST", |
74 | "/CAPS/WebFetchInvDesc/" /*+ UUID.Random()*/, | 74 | "/CAPS/WebFetchInvDesc/" /*+ UUID.Random()*/, |
75 | webFetchHandler.FetchInventoryDescendentsRequest, | 75 | webFetchHandler.FetchInventoryDescendentsRequest, |
76 | "FetchInvDescendents", | 76 | "WebFetchInvDesc", |
77 | null); | 77 | null); |
78 | server.AddStreamHandler(reqHandler); | 78 | server.AddStreamHandler(reqHandler); |
79 | } | 79 | } |