From 792e6bf0b476a778e3b3fb4fcdb3aa4202654175 Mon Sep 17 00:00:00 2001 From: haller Date: Wed, 4 May 2005 11:35:46 +0000 Subject: Codage de getFd --- 2005/i/robert/src/proto/proto.hh | 3 +++ 1 file changed, 3 insertions(+) (limited to '2005/i/robert/src/proto/proto.hh') diff --git a/2005/i/robert/src/proto/proto.hh b/2005/i/robert/src/proto/proto.hh index 163c44c..11b1ae3 100644 --- a/2005/i/robert/src/proto/proto.hh +++ b/2005/i/robert/src/proto/proto.hh @@ -102,6 +102,9 @@ class Proto : public NonCopyable /// milliseconde et les traite. Renvois le résultat de sync (). Attention, /// fonction bloquante, n'utiliser que pour les tests. bool wait (int timeout = -1); + /// Récupère le File Descriptor + int getFd(void); + public: /// Les clients de Proto doivent dériver de Receiver. class Receiver -- cgit v1.2.3