aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/HttpServer/PollServiceEventArgs.cs
diff options
context:
space:
mode:
authorMelanie2012-07-05 23:09:20 +0200
committerMelanie2012-07-05 23:09:20 +0200
commit4854d779041e987ae13de4f30a37e4fab1b7a3d7 (patch)
tree6e05bd38feb13797c5137d70a13e4e09bfe94745 /OpenSim/Framework/Servers/HttpServer/PollServiceEventArgs.cs
parent use the pollEvent timeout paramenter on pooling (diff)
downloadopensim-SC-4854d779041e987ae13de4f30a37e4fab1b7a3d7.zip
opensim-SC-4854d779041e987ae13de4f30a37e4fab1b7a3d7.tar.gz
opensim-SC-4854d779041e987ae13de4f30a37e4fab1b7a3d7.tar.bz2
opensim-SC-4854d779041e987ae13de4f30a37e4fab1b7a3d7.tar.xz
Add an EventType enum and Type field to the poll service event args. This allows
the manager to tell what type of event it is. All events except for lsl http in go to the "slow queue" which is run once per second as before.
Diffstat (limited to 'OpenSim/Framework/Servers/HttpServer/PollServiceEventArgs.cs')
-rw-r--r--OpenSim/Framework/Servers/HttpServer/PollServiceEventArgs.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/PollServiceEventArgs.cs b/OpenSim/Framework/Servers/HttpServer/PollServiceEventArgs.cs
index 2407533..7c92a50 100644
--- a/OpenSim/Framework/Servers/HttpServer/PollServiceEventArgs.cs
+++ b/OpenSim/Framework/Servers/HttpServer/PollServiceEventArgs.cs
@@ -45,6 +45,13 @@ namespace OpenSim.Framework.Servers.HttpServer
45 public RequestMethod Request; 45 public RequestMethod Request;
46 public UUID Id; 46 public UUID Id;
47 public int TimeOutms; 47 public int TimeOutms;
48 public EventType Type;
49
50 public enum EventType : int
51 {
52 Normal = 0,
53 LslHttp = 1
54 }
48 55
49 public PollServiceEventArgs(RequestMethod pRequest, HasEventsMethod pHasEvents, GetEventsMethod pGetEvents, NoEventsMethod pNoEvents, UUID pId, int pTimeOutms) 56 public PollServiceEventArgs(RequestMethod pRequest, HasEventsMethod pHasEvents, GetEventsMethod pGetEvents, NoEventsMethod pNoEvents, UUID pId, int pTimeOutms)
50 { 57 {
@@ -54,6 +61,7 @@ namespace OpenSim.Framework.Servers.HttpServer
54 NoEvents = pNoEvents; 61 NoEvents = pNoEvents;
55 Id = pId; 62 Id = pId;
56 TimeOutms = pTimeOutms; 63 TimeOutms = pTimeOutms;
64 Type = EventType.Normal;
57 } 65 }
58 } 66 }
59} 67}