Adding framework to handle web requests for plugin management

integration
BlueWall 2012-04-22 19:31:51 -04:00
parent bd0dfc1d6d
commit 3e546ebbc5
3 changed files with 35 additions and 0 deletions

View File

@ -108,6 +108,21 @@ namespace OpenSim.Server.Handlers.Integration
{
return m_IntegrationService.HandleWebPluginInfo(request);
}
public byte[] HandleWebListAvailablePlugins(OSDMap request)
{
return m_IntegrationService.HandleWebListAvailablePlugins(request);
}
public byte[] HandleWebInstallPlugin(OSDMap request)
{
return m_IntegrationService.HandleWebInstallPlugin(request);
}
public byte[] HnadleWebUnInstallPlugin(OSDMap request)
{
return m_IntegrationService.HandleWebUnInstallPlugin(request);
}
#endregion web handlers
#region utility

View File

@ -259,6 +259,21 @@ namespace OpenSim.Services.IntegrationService
{
return Ux.FailureResult("Not Implemented");
}
public byte[] HandleWebListAvailablePlugins(OSDMap request)
{
return Ux.FailureResult("Not Implemented");
}
public byte[] HandleWebInstallPlugin(OSDMap request)
{
return Ux.FailureResult("Not Implemented");
}
public byte[] HandleWebUnInstallPlugin(OSDMap request)
{
return Ux.FailureResult("Not Implemented");
}
#endregion
}
}

View File

@ -36,8 +36,13 @@ namespace OpenSim.Services.Interfaces
{
public interface IIntegrationService
{
#region Web handlers
byte[] HandleWebListPlugins(OSDMap request);
byte[] HandleWebPluginInfo(OSDMap request);
byte[] HandleWebListAvailablePlugins(OSDMap request);
byte[] HandleWebInstallPlugin(OSDMap request);
byte[] HandleWebUnInstallPlugin(OSDMap request);
#endregion
}
}