[mythtv-firehose] mythtv/gpu-commflag commit: 6f6e34d20 by Raymond Wagner (wagnerrp)

MythTV noreply at mythtv.org
Fri Feb 17 02:16:44 UTC 2012


      Author:  Raymond Wagner <rwagner at mythtv.org>
 Change Date:  2012-02-11T23:17:25-08:00
   Push Date:  2012/02/16 18:16:26 -0800
  Repository:  mythtv
      Branch:  gpu-commflag
New Revision:  6f6e34d204574fa32797b60ca90130e912a39bfd
   Changeset:  https://github.com/MythTV/mythtv/commit/6f6e34d20

Log:

Add ServerPool class.

This adds a new ServerPool class to libmythbase, with the purpose of
emulating the interfaces of both QTcpServer and QUdpSocket as is
currently required by the various interfaces MythTV supports. This
class replaces the previous use of QHostAddress::Any and
QHostAddress::AnyIPv6 to perform blanket binds, with a pool of
sockets each bound to individual addresses.

The following signals are available for use:
  newConnection(QTcpSocket *)
  newDatagram(QByteArray, QHostAddress, quint16 port)

Additionally, newTcpConnection(int) can be subclassed and overridden to
produce alternate socket types.

Added:

   mythtv/libs/libmythbase/serverpool.cpp
   mythtv/libs/libmythbase/serverpool.h

Modified:

   mythtv/libs/libmythbase/libmythbase.pro



More information about the mythtv-firehose mailing list