aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/HttpServer/PollServiceEventArgs.cs
diff options
context:
space:
mode:
authorUbitUmarov2012-07-04 17:40:02 +0100
committerUbitUmarov2012-07-04 17:40:02 +0100
commit02cb0bf80a0b67eb0316ac74e1ea9741bfce1385 (patch)
treec89d663463e6d6322ed8dc30f38192c9855302f1 /OpenSim/Framework/Servers/HttpServer/PollServiceEventArgs.cs
parent*test2* http poll: increased again the pool rate do 10/s but increased timeou... (diff)
downloadopensim-SC_OLD-02cb0bf80a0b67eb0316ac74e1ea9741bfce1385.zip
opensim-SC_OLD-02cb0bf80a0b67eb0316ac74e1ea9741bfce1385.tar.gz
opensim-SC_OLD-02cb0bf80a0b67eb0316ac74e1ea9741bfce1385.tar.bz2
opensim-SC_OLD-02cb0bf80a0b67eb0316ac74e1ea9741bfce1385.tar.xz
added a timeout paramenter to PollServiceEventArgs, so each type can define it's timeout
Diffstat (limited to 'OpenSim/Framework/Servers/HttpServer/PollServiceEventArgs.cs')
-rw-r--r--OpenSim/Framework/Servers/HttpServer/PollServiceEventArgs.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/PollServiceEventArgs.cs b/OpenSim/Framework/Servers/HttpServer/PollServiceEventArgs.cs
index 9d512c6..2407533 100644
--- a/OpenSim/Framework/Servers/HttpServer/PollServiceEventArgs.cs
+++ b/OpenSim/Framework/Servers/HttpServer/PollServiceEventArgs.cs
@@ -44,13 +44,16 @@ namespace OpenSim.Framework.Servers.HttpServer
44 public NoEventsMethod NoEvents; 44 public NoEventsMethod NoEvents;
45 public RequestMethod Request; 45 public RequestMethod Request;
46 public UUID Id; 46 public UUID Id;
47 public PollServiceEventArgs(RequestMethod pRequest, HasEventsMethod pHasEvents, GetEventsMethod pGetEvents, NoEventsMethod pNoEvents,UUID pId) 47 public int TimeOutms;
48
49 public PollServiceEventArgs(RequestMethod pRequest, HasEventsMethod pHasEvents, GetEventsMethod pGetEvents, NoEventsMethod pNoEvents, UUID pId, int pTimeOutms)
48 { 50 {
49 Request = pRequest; 51 Request = pRequest;
50 HasEvents = pHasEvents; 52 HasEvents = pHasEvents;
51 GetEvents = pGetEvents; 53 GetEvents = pGetEvents;
52 NoEvents = pNoEvents; 54 NoEvents = pNoEvents;
53 Id = pId; 55 Id = pId;
56 TimeOutms = pTimeOutms;
54 } 57 }
55 } 58 }
56} 59}