summaryrefslogtreecommitdiff
path: root/2005/i/robert/src/proto/proto.hh
diff options
context:
space:
mode:
authorhaller2005-04-09 23:48:20 +0000
committerhaller2005-04-09 23:48:20 +0000
commite46b1d36099f8792f88b77ee42730de2ecf93c26 (patch)
tree9f45cea865c6f09ebb5bd73de0983bd2d84868f6 /2005/i/robert/src/proto/proto.hh
parent0d54545f153fe81c6d42f9431f561522a656434e (diff)
Corrections de deux bugs
Ajout d'une constante timeout
Diffstat (limited to '2005/i/robert/src/proto/proto.hh')
-rw-r--r--2005/i/robert/src/proto/proto.hh5
1 files changed, 4 insertions, 1 deletions
diff --git a/2005/i/robert/src/proto/proto.hh b/2005/i/robert/src/proto/proto.hh
index c8d0211..5753fe0 100644
--- a/2005/i/robert/src/proto/proto.hh
+++ b/2005/i/robert/src/proto/proto.hh
@@ -49,7 +49,10 @@ class Proto : public NonCopyable
/// File d'attente des messages ŕ aquiter.
typedef std::queue<Frame> FrameQueue;
FrameQueue frameQueue_;
- int tLastSend_; //Date du dernier envoie
+ //Date du dernier envoie
+ int tLastSend_;
+ //Temps entre les ré-émission
+ static const int timeout_ = 100;
/// Frame en cours de réception
Frame currentFrame_;