From f10666c7ba6d3af9822d20026674afd74a6bb3fc Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Sun, 1 May 2011 10:07:54 -0700 Subject: How this might look like from a configuration perspective. Changes OpenSimDefaults.ini. --- OpenSim/Capabilities/Caps.cs | 13 ++++++++++ bin/OpenSimDefaults.ini | 59 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/OpenSim/Capabilities/Caps.cs b/OpenSim/Capabilities/Caps.cs index 3be97b5..c98498d 100644 --- a/OpenSim/Capabilities/Caps.cs +++ b/OpenSim/Capabilities/Caps.cs @@ -85,6 +85,7 @@ namespace OpenSim.Framework.Capabilities public string CapsObjectPath { get { return m_capsObjectPath; } } private CapsHandlers m_capsHandlers; + private Dictionary m_externalCapsHandlers; private static readonly string m_requestPath = "0000/"; // private static readonly string m_mapLayerPath = "0001/"; @@ -167,6 +168,7 @@ namespace OpenSim.Framework.Capabilities m_agentID = agent; m_dumpAssetsToFile = dumpAssetsToFile; m_capsHandlers = new CapsHandlers(httpServer, httpListen, httpPort, (httpServer == null) ? false : httpServer.UseSSL); + m_externalCapsHandlers = new Dictionary(); m_regionName = regionName; } @@ -267,6 +269,17 @@ namespace OpenSim.Framework.Capabilities } /// + /// Register an external handler. The service for this capability is somewhere else + /// given by the URL. + /// + /// + /// + public void RegisterHandler(string capsName, string url) + { + m_externalCapsHandlers.Add(capsName, url); + } + + /// /// Remove all CAPS service handlers. /// /// diff --git a/bin/OpenSimDefaults.ini b/bin/OpenSimDefaults.ini index 35e8079..35287b1 100644 --- a/bin/OpenSimDefaults.ini +++ b/bin/OpenSimDefaults.ini @@ -408,6 +408,65 @@ ; ;DisableFacelights = "false" +[ClientStack.LindenCaps] + Cap_AttachmentResources = "localhost" + Cap_AvatarPickerSearch = "localhost" + Cap_ChatSessionRequest = "localhost" + Cap_CopyInventoryFromNotecard = "localhost" + Cap_DispatchRegionInfo = "localhost" + Cap_EstateChangeInfo = "localhost" + Cap_EventQueueGet = "localhost" + Cap_FetchInventory = "localhost" + Cap_ObjectMedia = "localhost" + Cap_ObjectMediaNavigate = "localhost" + Cap_FetchLib = "localhost" + Cap_FetchLibDescendents = "localhost" + Cap_GetDisplayNames = "localhost" + Cap_GetTexture = "localhost" + Cap_GetMesh = "localhost" + Cap_GetObjectCost = "localhost" + Cap_GetObjectPhysicsData = "localhost" + Cap_GroupProposalBallot = "localhost" + Cap_HomeLocation = "localhost" + Cap_LandResources = "localhost" + Cap_MapLayer = "localhost" + Cap_MapLayerGod = "localhost" + Cap_NewFileAgentInventory = "localhost" + Cap_NewFileAgentInventoryVariablePrice = "localhost" + Cap_ObjectAdd = "localhost" + Cap_ParcelPropertiesUpdate = "localhost" + Cap_ParcelMediaURLFilterList = "localhost" + Cap_ParcelNavigateMedia = "localhost" + Cap_ParcelVoiceInfoRequest = "localhost" + Cap_ProductInfoRequest = "localhost" + Cap_ProvisionVoiceAccountRequest = "localhost" + Cap_RemoteParcelRequest = "localhost" + Cap_RequestTextureDownload = "localhost" + Cap_SearchStatRequest = "localhost" + Cap_SearchStatTracking = "localhost" + Cap_SendPostcard = "localhost" + Cap_SendUserReport = "localhost" + Cap_SendUserReportWithScreenshot = "localhost" + Cap_ServerReleaseNotes = "localhost" + Cap_SimConsole = "localhost" + Cap_SimulatorFeatures = "localhost" + Cap_SetDisplayName = "localhost" + Cap_StartGroupProposal = "localhost" + Cap_TextureStats = "localhost" + Cap_UntrustedSimulatorMessage = "localhost" + Cap_UpdateAgentInformation = "localhost" + Cap_UpdateAgentLanguage = "localhost" + Cap_UpdateGestureAgentInventory = "localhost" + Cap_UpdateNotecardAgentInventory = "localhost" + Cap_UpdateScriptAgent = "localhost" + Cap_UpdateGestureTaskInventory = "localhost" + Cap_UpdateNotecardTaskInventory = "localhost" + Cap_UpdateScriptTask = "localhost" + Cap_UploadBakedTexture = "localhost" + Cap_UploadObjectAsset = "localhost" + Cap_ViewerStartAuction = "localhost" + Cap_ViewerStats = "localhost" + Cap_WebFetchInventoryDescendents = "localhost" [Chat] ; Controls whether the chat module is enabled. Default is true. -- cgit v1.1