From 032aeb8b5d05f5f5a8ef8c6e0fe572a321717c35 Mon Sep 17 00:00:00 2001
From: Teravus Ovares
Date: Wed, 29 Jul 2009 02:15:45 +0000
Subject: * Adds the ability to have a thread efficient long poll service (such
as the eventqueue) * If this doesn't melt the Http Server, this will
significantly reduce the number of threads in use on regions with many users.
* Adds AddPollServiceHTTPHandler, and RemovePollServiceHTTPHandler to
BaseHttpServer * Generic enough to be used for many long poll services, not
only the EventQueue.
---
OpenSim/Framework/Servers/HttpServer/Interfaces/IHttpServer.cs | 5 +++++
1 file changed, 5 insertions(+)
(limited to 'OpenSim/Framework/Servers/HttpServer/Interfaces')
diff --git a/OpenSim/Framework/Servers/HttpServer/Interfaces/IHttpServer.cs b/OpenSim/Framework/Servers/HttpServer/Interfaces/IHttpServer.cs
index c415dfb..9095831 100644
--- a/OpenSim/Framework/Servers/HttpServer/Interfaces/IHttpServer.cs
+++ b/OpenSim/Framework/Servers/HttpServer/Interfaces/IHttpServer.cs
@@ -74,6 +74,9 @@ namespace OpenSim.Framework.Servers.HttpServer
///
bool AddHTTPHandler(string methodName, GenericHTTPMethod handler);
+
+ bool AddPollServiceHTTPHandler(string methodName, GenericHTTPMethod handler, PollServiceEventArgs args);
+
///
/// Adds a LLSD handler, yay.
///
@@ -114,6 +117,8 @@ namespace OpenSim.Framework.Servers.HttpServer
///
///
void RemoveHTTPHandler(string httpMethod, string path);
+
+ void RemovePollServiceHTTPHandler(string httpMethod, string path);
bool RemoveLLSDHandler(string path, LLSDMethod handler);
--
cgit v1.1