aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/HttpServer/PollServiceEventArgs.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Servers/HttpServer/PollServiceEventArgs.cs')
-rw-r--r--OpenSim/Framework/Servers/HttpServer/PollServiceEventArgs.cs16
1 files changed, 14 insertions, 2 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/PollServiceEventArgs.cs b/OpenSim/Framework/Servers/HttpServer/PollServiceEventArgs.cs
index 3089351..a80b1d7 100644
--- a/OpenSim/Framework/Servers/HttpServer/PollServiceEventArgs.cs
+++ b/OpenSim/Framework/Servers/HttpServer/PollServiceEventArgs.cs
@@ -45,17 +45,29 @@ namespace OpenSim.Framework.Servers.HttpServer
45 public NoEventsMethod NoEvents; 45 public NoEventsMethod NoEvents;
46 public RequestMethod Request; 46 public RequestMethod Request;
47 public UUID Id; 47 public UUID Id;
48 public int TimeOutms;
49 public EventType Type;
50
51 public enum EventType : int
52 {
53 Normal = 0,
54 LslHttp = 1,
55 Inventory = 2,
56 Texture = 3
57 }
48 58
49 public PollServiceEventArgs( 59 public PollServiceEventArgs(
50 RequestMethod pRequest, 60 RequestMethod pRequest,
51 HasEventsMethod pHasEvents, GetEventsMethod pGetEvents, NoEventsMethod pNoEvents, 61 HasEventsMethod pHasEvents, GetEventsMethod pGetEvents, NoEventsMethod pNoEvents,
52 UUID pId) 62 UUID pId, int pTimeOutms)
53 { 63 {
54 Request = pRequest; 64 Request = pRequest;
55 HasEvents = pHasEvents; 65 HasEvents = pHasEvents;
56 GetEvents = pGetEvents; 66 GetEvents = pGetEvents;
57 NoEvents = pNoEvents; 67 NoEvents = pNoEvents;
58 Id = pId; 68 Id = pId;
69 TimeOutms = pTimeOutms;
70 Type = EventType.Normal;
59 } 71 }
60 } 72 }
61} \ No newline at end of file 73}