summaryrefslogtreecommitdiff
path: root/seqWindow.h
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2007-12-11 12:31:46 +0000
committerOthmar Gsenger <otti@anytun.org>2007-12-11 12:31:46 +0000
commit62c5dcfa2dd117fd7b388d13ab8f33c5867a9636 (patch)
treeae84f36ab1a51a83c799cb062621e7f403e7051e /seqWindow.h
parentfixes in mpi class, keyderivation iv generation (diff)
fixed many sync things
fixed warning (multiple key)
Diffstat (limited to 'seqWindow.h')
-rw-r--r--seqWindow.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/seqWindow.h b/seqWindow.h
index 8f94b7c..f2ad347 100644
--- a/seqWindow.h
+++ b/seqWindow.h
@@ -53,12 +53,22 @@ public:
void clear(sender_id_t sender);
void clear();
+
private:
SeqWindow(const SeqWindow &s);
void operator=(const SeqWindow &s);
+ friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int version);
+ void serialize(Archive & ar, const unsigned int version)
+ {
+ //unsigned int serial = (unsigned int) window_size_;
+ //window_size_t serial = (window_size_t) window_size_;
+ ar & window_size_;
+ //TODO: Do not sync complete Sender Map!
+ // ar & sender_;
+ }
+
window_size_t window_size_;
Mutex mutex_;