Completely remove the prior implementation of the request event handling

on poll handlers. Introduce a new delegate on the PollServiceEventArgs that
allow access to the request headers and body.
This commit is contained in:
Melanie
2009-09-22 06:19:02 +01:00
parent c5be401d46
commit dafe5bf05f
4 changed files with 46 additions and 41 deletions

View File

@@ -198,7 +198,7 @@ namespace OpenSim.Framework.Console
string uri = "/ReadResponses/" + sessionID.ToString() + "/";
m_Server.AddPollServiceHTTPHandler(uri, HandleHttpPoll,
new PollServiceEventArgs(HasEvents, GetEvents, NoEvents,
new PollServiceEventArgs(null, HasEvents, GetEvents, NoEvents,
sessionID));
XmlDocument xmldoc = new XmlDocument();