// $Id$
//
-// Copyright (C) 2006
-// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
-// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
-// Stefan Bund <stefan.bund@fokus.fraunhofer.de>
+// Copyright (C) 2006
+// 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
///////////////////////////////cti.p///////////////////////////////////////
template <class Handle>
-prefix_ void senf::Scheduler::add(Handle const & handle,
- typename GenericCallback<Handle>::Callback const & cb,
- int eventMask)
+prefix_ void senf::Scheduler::add(Handle const & handle, FdCallback const & cb, int eventMask)
{
// retrieve_filehandle is found via ADL
- SimpleCallback scb (boost::bind(cb,handle,_1));
- int fd = retrieve_filehandle(handle);
- do_add(fd,scb,eventMask);
+ do_add(retrieve_filehandle(handle),cb,eventMask);
}
template <class Handle>
\f
// Local Variables:
// mode: c++
+// fill-column: 100
// c-file-style: "senf"
+// indent-tabs-mode: nil
+// ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
// End: