summaryrefslogtreecommitdiff
path: root/indra/newview/lleventpoll.h
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2007-01-02 08:33:20 +0000
committerJames Cook <james@lindenlab.com>2007-01-02 08:33:20 +0000
commit420b91db29485df39fd6e724e782c449158811cb (patch)
treeb471a94563af914d3ed3edd3e856d21cb1b69945 /indra/newview/lleventpoll.h
Print done when done.
Diffstat (limited to 'indra/newview/lleventpoll.h')
-rw-r--r--indra/newview/lleventpoll.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/indra/newview/lleventpoll.h b/indra/newview/lleventpoll.h
new file mode 100644
index 0000000000..c5024b2b95
--- /dev/null
+++ b/indra/newview/lleventpoll.h
@@ -0,0 +1,37 @@
+/**
+ * @file lleventpoll.h
+ * @brief LLEvDescription of the LLEventPoll class.
+ *
+ * Copyright (c) 2006-$CurrentYear$, Linden Research, Inc.
+ * $License$
+ */
+
+#ifndef LL_LLEVENTPOLL_H
+#define LL_LLEVENTPOLL_H
+
+class LLHTTPNode;
+
+
+class LLEventPoll
+ ///< implements the viewer side of server-to-viewer pushed events.
+{
+public:
+ LLEventPoll(const std::string& pollURL, const LLHTTPNode& treeRoot);
+ /**< Start polling the URL.
+
+ The object will automatically responde to events
+ by calling handlers in the tree.
+ */
+
+
+ virtual ~LLEventPoll();
+ ///< will stop polling, cancelling any poll in progress.
+
+
+private:
+ class Impl;
+ Impl& impl;
+};
+
+
+#endif // LL_LLEVENTPOLL_H