summaryrefslogtreecommitdiffabout
path: root/include/sitecing
authorMichael Krelin <hacker@klever.net>2007-01-03 00:57:27 (UTC)
committer Michael Krelin <hacker@klever.net>2007-01-03 00:57:27 (UTC)
commitf114b9ea0a5cb03d0e9d411090026774d6df44bf (patch) (unidiff)
tree71bc93466d7789b34c14f3639a515fdcf40c2f2d /include/sitecing
parent555ef5892cba60983f45fea6e6bbb3c3ce2f8532 (diff)
downloadsitecing-f114b9ea0a5cb03d0e9d411090026774d6df44bf.zip
sitecing-f114b9ea0a5cb03d0e9d411090026774d6df44bf.tar.gz
sitecing-f114b9ea0a5cb03d0e9d411090026774d6df44bf.tar.bz2
added request serial tracking to sitecing_interface
Diffstat (limited to 'include/sitecing') (more/less context) (ignore whitespace changes)
-rw-r--r--include/sitecing/sitecing_interface.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/sitecing/sitecing_interface.h b/include/sitecing/sitecing_interface.h
index 0cba2bb..f0210d6 100644
--- a/include/sitecing/sitecing_interface.h
+++ b/include/sitecing/sitecing_interface.h
@@ -1,40 +1,44 @@
1#ifndef __SITECING_SITECING_INTERFACE_H 1#ifndef __SITECING_SITECING_INTERFACE_H
2#define __SITECING_SITECING_INTERFACE_H 2#define __SITECING_SITECING_INTERFACE_H
3 3
4#include <ostream> 4#include <ostream>
5 5
6/** 6/**
7 * @file 7 * @file
8 * @brief The sitecing_interface call declaration. 8 * @brief The sitecing_interface call declaration.
9 */ 9 */
10 10
11namespace sitecing { 11namespace sitecing {
12 using namespace std; 12 using namespace std;
13 13
14 /** 14 /**
15 * @brief the interface to site-C-ing. 15 * @brief the interface to site-C-ing.
16 * 16 *
17 * The basic class used to convey communications between the component and 17 * The basic class used to convey communications between the component and
18 * the sitecing core. 18 * the sitecing core.
19 */ 19 */
20 class sitecing_interface { 20 class sitecing_interface {
21 public: 21 public:
22 /** 22 /**
23 * Pointer to the output stream. 23 * Pointer to the output stream.
24 */ 24 */
25 ostream *out; 25 ostream *out;
26 /**
27 * Serial number of request being processed.
28 */
29 long serial;
26 30
27 /** 31 /**
28 * The default constructor doesn't do much. 32 * The default constructor doesn't do much.
29 */ 33 */
30 sitecing_interface() : out(0) {} 34 sitecing_interface() : out(0), serial(0) {}
31 /** 35 /**
32 * The constructor initializes the output stream pointer. 36 * The constructor initializes the output stream pointer.
33 * @param o the value to initialize the output stream pointer with. 37 * @param o the value to initialize the output stream pointer with.
34 */ 38 */
35 sitecing_interface(ostream* o) : out(o) {} 39 sitecing_interface(ostream* o) : out(o) {}
36 }; 40 };
37 41
38} 42}
39 43
40#endif /* __SITECING_SITECING_INTERFACE_H */ 44#endif /* __SITECING_SITECING_INTERFACE_H */