summaryrefslogtreecommitdiff
path: root/cpp/demo/Ice/session/SessionI.h
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2005-04-14 01:50:42 +0000
committerMatthew Newhook <matthew@zeroc.com>2005-04-14 01:50:42 +0000
commite2c0602514cf771861bcf093e6b61b5095bc77e8 (patch)
tree1274f15fb1ba26630fd906e3353329d15032a45a /cpp/demo/Ice/session/SessionI.h
parentAdded fixed-length element sequence to throughput demo. (diff)
downloadice-e2c0602514cf771861bcf093e6b61b5095bc77e8.tar.bz2
ice-e2c0602514cf771861bcf093e6b61b5095bc77e8.tar.xz
ice-e2c0602514cf771861bcf093e6b61b5095bc77e8.zip
more updates.
Diffstat (limited to 'cpp/demo/Ice/session/SessionI.h')
-rwxr-xr-xcpp/demo/Ice/session/SessionI.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/cpp/demo/Ice/session/SessionI.h b/cpp/demo/Ice/session/SessionI.h
index 0b788093925..a56fb9c9a2e 100755
--- a/cpp/demo/Ice/session/SessionI.h
+++ b/cpp/demo/Ice/session/SessionI.h
@@ -34,11 +34,12 @@ public:
private:
const Ice::ObjectAdapterPtr _adapter;
- const IceUtil::Time _timeout;
- int _nextId;
- bool _destroy;
- IceUtil::Time _refreshTime;
- std::list< ::Demo::HelloPrx> _objs;
+ const IceUtil::Time _timeout; // How long until the session times out.
+ bool _destroy; // true if destroy() was called, false otherwise.
+ IceUtil::Time _refreshTime; // The last time the session was refreshed.
+
+ int _nextId; // The id of the next hello object. This is used for tracing purposes.
+ std::list< ::Demo::HelloPrx> _objs; // List of per-client allocated Hello objects.
};
typedef IceUtil::Handle<SessionI> SessionIPtr;