A small fix for remote console to accommodate PollServiceArgs behavior a

bit better
remotes/origin/0.6.7-post-fixes
Melanie 2009-09-21 14:14:22 +01:00
parent f6410882a5
commit 2a1b5e3540
1 changed files with 6 additions and 1 deletions

View File

@ -197,7 +197,7 @@ namespace OpenSim.Framework.Console
string uri = "/ReadResponses/" + sessionID.ToString() + "/";
m_Server.AddPollServiceHTTPHandler(uri, HandleHttpCloseSession,
m_Server.AddPollServiceHTTPHandler(uri, HandleHttpPoll,
new PollServiceEventArgs(HasEvents, GetEvents, NoEvents,
sessionID));
@ -230,6 +230,11 @@ namespace OpenSim.Framework.Console
return reply;
}
private Hashtable HandleHttpPoll(Hashtable request)
{
return new Hashtable();
}
private Hashtable HandleHttpCloseSession(Hashtable request)
{
DoExpire();