X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FProtocols%2FUN%2FUNProtocol.hh;h=38e9edcde9ec72f4ed83714605092da62db477ff;hb=01affde68cb93a334a2e6daabd2010b9a14b4553;hp=343464120fee8b4390d405fca481ad8f4524bd8d;hpb=0de6c83e2769c7deb2ed3c57d7b26e8cb3fcca04;p=senf.git diff --git a/Socket/Protocols/UN/UNProtocol.hh b/Socket/Protocols/UN/UNProtocol.hh index 3434641..38e9edc 100644 --- a/Socket/Protocols/UN/UNProtocol.hh +++ b/Socket/Protocols/UN/UNProtocol.hh @@ -1,6 +1,7 @@ -// $Id$ -// // Copyright (C) 2007 +// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) +// Kompetenzzentrum NETwork research (NET) +// David Wagner // // 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 @@ -49,15 +50,20 @@ namespace senf { : public virtual SocketProtocol { public: - void connect(UNSocketAddress const & address) const; ///< Connect to remote address + void connect(UNSocketAddress const & address) const; ///< Connect to a unix domain socket /**< \todo make this obsolete by allowing access to the ClientSocketHandle from ConcreateSocketProtocol \param[in] address Address to connect to */ - void bind(UNSocketAddress const & address) const; ///< Set local socket address + void bind(UNSocketAddress const & address) const; ///< Set local socket address (path) /**< \todo make this obsolete by allowing access to the ClientSocketHandle from ConcreateSocketProtocol \param[in] address Address to set */ - }; + ///\name Abstract Interface Implementation + ///@{ + + unsigned available() const; + bool eof() const; + }; } ///////////////////////////////hh.e////////////////////////////////////////