diff options
author | Teravus Ovares | 2009-07-29 02:15:45 +0000 |
---|---|---|
committer | Teravus Ovares | 2009-07-29 02:15:45 +0000 |
commit | 032aeb8b5d05f5f5a8ef8c6e0fe572a321717c35 (patch) | |
tree | 63d21eaa99b003b47f8eceb09e21b6c4f32ae4f7 /OpenSim/Framework/Servers/HttpServer/Interfaces | |
parent | Add the missing block to the alert message (diff) | |
download | opensim-SC_OLD-032aeb8b5d05f5f5a8ef8c6e0fe572a321717c35.zip opensim-SC_OLD-032aeb8b5d05f5f5a8ef8c6e0fe572a321717c35.tar.gz opensim-SC_OLD-032aeb8b5d05f5f5a8ef8c6e0fe572a321717c35.tar.bz2 opensim-SC_OLD-032aeb8b5d05f5f5a8ef8c6e0fe572a321717c35.tar.xz |
* 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.
Diffstat (limited to 'OpenSim/Framework/Servers/HttpServer/Interfaces')
-rw-r--r-- | OpenSim/Framework/Servers/HttpServer/Interfaces/IHttpServer.cs | 5 |
1 files changed, 5 insertions, 0 deletions
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 | |||
74 | /// </returns> | 74 | /// </returns> |
75 | bool AddHTTPHandler(string methodName, GenericHTTPMethod handler); | 75 | bool AddHTTPHandler(string methodName, GenericHTTPMethod handler); |
76 | 76 | ||
77 | |||
78 | bool AddPollServiceHTTPHandler(string methodName, GenericHTTPMethod handler, PollServiceEventArgs args); | ||
79 | |||
77 | /// <summary> | 80 | /// <summary> |
78 | /// Adds a LLSD handler, yay. | 81 | /// Adds a LLSD handler, yay. |
79 | /// </summary> | 82 | /// </summary> |
@@ -114,6 +117,8 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
114 | /// <param name="httpMethod"></param> | 117 | /// <param name="httpMethod"></param> |
115 | /// <param name="path"></param> | 118 | /// <param name="path"></param> |
116 | void RemoveHTTPHandler(string httpMethod, string path); | 119 | void RemoveHTTPHandler(string httpMethod, string path); |
120 | |||
121 | void RemovePollServiceHTTPHandler(string httpMethod, string path); | ||
117 | 122 | ||
118 | bool RemoveLLSDHandler(string path, LLSDMethod handler); | 123 | bool RemoveLLSDHandler(string path, LLSDMethod handler); |
119 | 124 | ||