Scheduler: BUGFIX: Implement timeoutEarly() / timeoutAdjust()
[senf.git] / Scheduler / Scheduler.cci
index 286d8ec..f436274 100644 (file)
@@ -1,9 +1,9 @@
 // $Id$
 //
 // Copyright (C) 2006
-// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
-// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
-//     Stefan Bund <stefan.bund@fokus.fraunhofer.de>
+// Fraunhofer Institute for Open Communication Systems (FOKUS)
+// Competence Center NETwork research (NET), St. Augustin, GERMANY
+//     Stefan Bund <g0dil@berlios.de>
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
@@ -55,6 +55,28 @@ prefix_ void senf::Scheduler::cancelTimeout(unsigned id)
         i->second.canceled = true;
 }
 
+prefix_ senf::ClockService::clock_type senf::Scheduler::timeoutEarly()
+    const
+{
+    return eventEarly_;
+}
+
+prefix_ void senf::Scheduler::timeoutEarly(ClockService::clock_type v)
+{
+    eventEarly_ = v;
+}
+
+prefix_ senf::ClockService::clock_type senf::Scheduler::timeoutAdjust()
+    const
+{
+    return eventAdjust_;
+}
+
+prefix_ void senf::Scheduler::timeoutAdjust(ClockService::clock_type v)
+{
+    eventAdjust_ = v;
+}
+
 prefix_ void senf::Scheduler::terminate()
 {
     terminate_ = true;