summaryrefslogtreecommitdiff
path: root/2005/i/robert/src/es
diff options
context:
space:
mode:
Diffstat (limited to '2005/i/robert/src/es')
-rw-r--r--2005/i/robert/src/es/es.cc6
-rw-r--r--2005/i/robert/src/es/es.hh2
2 files changed, 8 insertions, 0 deletions
diff --git a/2005/i/robert/src/es/es.cc b/2005/i/robert/src/es/es.cc
index 3673fb3..c9ca801 100644
--- a/2005/i/robert/src/es/es.cc
+++ b/2005/i/robert/src/es/es.cc
@@ -95,6 +95,12 @@ void Es::wait(int timeout)
proto_.wait(timeout);
}
+/// Récupère le File Descriptor
+int Es::getFd(void)
+{
+ return proto_.getFd();
+}
+
void Es::loadConfig(const Config & config)
{
tty_ = config.get<std::string>("es.tty");
diff --git a/2005/i/robert/src/es/es.hh b/2005/i/robert/src/es/es.hh
index 6bb0fc4..ebe9c9f 100644
--- a/2005/i/robert/src/es/es.hh
+++ b/2005/i/robert/src/es/es.hh
@@ -83,6 +83,8 @@ class Es : public Proto::Receiver
void ventouses(void);
/// On attend ...
void wait(int timeout);
+ /// Récupère le File Descriptor
+ int getFd(void);
/// Charge les paramètre du fichier de config
void loadConfig(const Config & config);
/// définition du receiver::receive