}
prefix_ senf::console::Server::Server(ServerHandle handle)
- : handle_ (handle), root_ (root().thisptr()), mode_ (Automatic)
+ : handle_ (handle), root_ (senf::console::root().thisptr()), mode_ (Automatic)
{
Scheduler::instance().add( handle_, senf::membind(&Server::newClient, this) );
}
Scheduler::instance().remove(handle_);
}
-prefix_ void senf::console::Server::newClient(Scheduler::EventId event)
+prefix_ void senf::console::Server::newClient(int event)
{
ServerHandle::ClientSocketHandle client (handle_.accept());
boost::intrusive_ptr<Client> p (new Client(*this, client));
{}
prefix_ void
-senf::console::detail::NoninteractiveClientReader::newData(senf::Scheduler::EventId event)
+senf::console::detail::NoninteractiveClientReader::newData(int event)
{
if (event != senf::Scheduler::EV_READ || handle().eof()) {
if (! buffer_.empty())