X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Console%2FServer.hh;h=c8d2c7f60457073d0417b3aa6afb00307f5eb278;hb=9c0078ac0054789badff2a987364ed0448b080ef;hp=539430264a35dcd366f82917049f8044e2f3c753;hpb=d620e7ff9b68377ea20ca266c23cc3f05781868c;p=senf.git diff --git a/Console/Server.hh b/Console/Server.hh index 5394302..c8d2c7f 100644 --- a/Console/Server.hh +++ b/Console/Server.hh @@ -51,6 +51,7 @@ namespace console { class Client; /** \brief + ///\fixme Use special non-blocking streambuf */ class Server : boost::noncopyable @@ -94,6 +95,11 @@ namespace console { }; /** \brief + + \fixme Fix Client::clientData implementation + Remove the 'dup' needed here so we don't close the same fd twice (see Client constructor) + Make output non-blocking + Don't register a new ReadHelper every round */ class Client : public senf::intrusive_refcount @@ -113,6 +119,7 @@ namespace console { Client(ClientHandle handle, std::string const & name); void clientData(ReadHelper::ptr helper); + void showPrompt(); ClientHandle handle_; std::string tail_;