NEW FILE HEADER / COPYRIGHT FORMAT
[senf.git] / Socket / Protocols / DVB / DVBDemuxProtocol.cc
index d4172b3..6eabb90 100644 (file)
@@ -1,9 +1,9 @@
 // $Id$
 //
 // Copyright (C) 2007
-// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
-// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
-//     Thorsten Horstmann <thorsten.horstmann@fokus.fraunhofer.de>
+// Fraunhofer Institute for Open Communication Systems (FOKUS) 
+// Competence Center NETwork research (NET), St. Augustin, GERMANY 
+//     Thorsten Horstmann <tho@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
 prefix_ void senf::DVBDemuxProtocol::setBufferSize(unsigned long size)
     const
 {
-    if (::ioctl(body().fd(), DMX_SET_BUFFER_SIZE, size) < 0)
-        throw SystemException(errno);
+    if (::ioctl(fd(), DMX_SET_BUFFER_SIZE, size) < 0)
+        throwErrno();
 }
 
 prefix_ void senf::DVBDemuxProtocol::startFiltering()
     const
 {
-    if (::ioctl(body().fd(), DMX_START) < 0)
-        throw SystemException(errno);
+    if (::ioctl(fd(), DMX_START) < 0)
+        throwErrno();
 }
 
 prefix_ void senf::DVBDemuxProtocol::stopFiltering()
     const
 {
-    if (::ioctl(body().fd(), DMX_STOP) < 0)
-        throw SystemException(errno);
+    if (::ioctl(fd(), DMX_STOP) < 0)
+        throwErrno();
 }
 
 prefix_ bool senf::DVBDemuxProtocol::eof()