changed API for DVB (likely not the last time ;)
[senf.git] / Socket / DVBDemuxProtocol.cc
similarity index 81%
rename from Socket/DVBProtocol.cc
rename to Socket/DVBDemuxProtocol.cc
index 65a3045..f1f0ef1 100644 (file)
@@ -1,4 +1,4 @@
-// $Id$
+// $Id: DVBProtocol.cc 321 2007-07-19 09:00:23Z tho $
 //
 // Copyright (C) 2007
 // Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
@@ -24,8 +24,8 @@
     \brief xxx
  */
 
-#include "DVBProtocol.hh"
-//#include "DVBProtocol.ih"
+#include "DVBDemuxProtocol.hh"
+//#include "DVBDemuxProtocol.ih"
 
 // Custom includes
 #include <sys/socket.h>
 #include <linux/sockios.h>
 #include "SocketHandle.hh"
 
-//#include "DVBProtocol.mpp"
+//#include "DVBDemuxProtocol.mpp"
 #define prefix_
 ///////////////////////////////cc.p////////////////////////////////////////
 
 
 
-prefix_ void senf::DVBProtocol::setBufferSize(unsigned long size)
+prefix_ void senf::DVBDemuxProtocol::setBufferSize(unsigned long size)
     const
 {
     if (::ioctl(body().fd(), DMX_SET_BUFFER_SIZE, size) < 0)
         throw SystemException(errno);
 }
 
-prefix_ void senf::DVBProtocol::startFiltering()
+prefix_ void senf::DVBDemuxProtocol::startFiltering()
     const
 {
     if (::ioctl(body().fd(), DMX_START) < 0)
         throw SystemException(errno);
 }
 
-prefix_ void senf::DVBProtocol::stopFiltering()
+prefix_ void senf::DVBDemuxProtocol::stopFiltering()
     const
 {
     if (::ioctl(body().fd(), DMX_STOP) < 0)
         throw SystemException(errno);
 }
 
-prefix_ bool senf::DVBProtocol::eof()
+prefix_ bool senf::DVBDemuxProtocol::eof()
     const
 {
     return false;
@@ -70,7 +70,7 @@ prefix_ bool senf::DVBProtocol::eof()
 
 ///////////////////////////////cc.e////////////////////////////////////////
 #undef prefix_
-//#include "DVBProtocol.mpp"
+//#include "DVBDemuxProtocol.mpp"
 
 \f
 // Local Variables: