[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-server-cvs
Subject:    [Server-cvs] include ihxubermgr.h,NONE,1.1.2.2
From:       rasher () helixcommunity ! org
Date:       2007-12-24 20:46:16
Message-ID: 200712242046.lBOKkNw2028265 () mailer ! progressive-comp ! com
[Download RAW message or body]

Update of /cvsroot/server/include
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv29228

Added Files:
      Tag: SERVER_12
	ihxubermgr.h 
Log Message:
Synopsis
  ==========

 This CR is for switching using MDP when CQoSRateMgr has a pointer to
UberStreamManager and needs to be updated with the switch

 Branches           :  HEAD , SERVER_12_RN
 Suggested Reviewer :  Jamie

   Description
   ============
     While switching using MDP QosRateMgr has a data member which points
to UberStreamManager and after the switch occurs since the
inputsource has changed ,this reference to UberStreamManager also
needs to be changed.

  Fix
 ==========
   Create an interface IHXUberSource which has the method SwitchUberSource
where the new switched UberStreamManager is passed so that the shim
when switching passes the pointer so the the QoSRateManager can update
its Rate Manager

      Files Affected
  ================

   server\engine\core\pub\server_piids.h
   server\include\ihxubermgr.h
   server\engine\inputsource\mdpshim.cpp
   server\engine\dataflow\pub\static_pushpktflow.h
   server\engine\dataflow\static_pushpktflow.cpp
   server-restricted\qos\session\pub\qos_sess_qosratemgr.h
   server-restricted\qos\session\qos_sess_qosratemgr.cpp

   Testing Performed
  =================
Functional-Testing:
    Checked that a fcs mdp clip plays and we get no asserts when a switch
happens.

 Leak-Tests:
    dtors of objects are called and further leaks need to be tested.

Build verified  :win32-i386-vc7,sunos-5.10-sparc-server,linux-rhel4-i686
Platforms tested: win32-i386-vc7


 Thanks
 Raj  Asher


--- NEW FILE: ihxubermgr.h ---
/* ***** BEGIN LICENSE BLOCK *****  
 * Source last modified: $Id: ihxubermgr.h,v 1.1.2.2 2007/12/24 20:46:13 rasher Exp $ 
 *   
 * Portions Copyright (c) 1995-2003 RealNetworks, Inc. All Rights Reserved.  
 *       
 * The contents of this file, and the files included with this file, 
 * are subject to the current version of the RealNetworks Public 
 * Source License (the "RPSL") available at 
 * http://www.helixcommunity.org/content/rpsl unless you have licensed 
 * the file under the current version of the RealNetworks Community 
 * Source License (the "RCSL") available at 
 * http://www.helixcommunity.org/content/rcsl, in which case the RCSL 
 * will apply. You may also obtain the license terms directly from 
 * RealNetworks.  You may not use this file except in compliance with 
 * the RPSL or, if you have a valid RCSL with RealNetworks applicable 
 * to this file, the RCSL.  Please see the applicable RPSL or RCSL for 
 * the rights, obligations and limitations governing use of the 
 * contents of the file. 
 *   
 * This file is part of the Helix DNA Technology. RealNetworks is the 
 * developer of the Original Code and owns the copyrights in the 
 * portions it created. 
 *   
 * This file, and the files included with this file, is distributed 
 * and made available on an 'AS IS' basis, WITHOUT WARRANTY OF ANY 
 * KIND, EITHER EXPRESS OR IMPLIED, AND REALNETWORKS HEREBY DISCLAIMS 
 * ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES 
 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET 
 * ENJOYMENT OR NON-INFRINGEMENT. 
 *  
 * Technology Compatibility Kit Test Suite(s) Location:  
 *    http://www.helixcommunity.org/content/tck  
 *  
 * Contributor(s):  
 *   
 * ***** END LICENSE BLOCK ***** */  

#ifndef _UBER_SOURCE_H_
#define _UBER_SOURCE_H_

#include "isifs.h"

/****************************************************************************
 * 
 *  Interface:
 * 
 *      IHXUberSource
 * 
 *  Purpose:
 * 
 *      Source of packets
 * 
 *  IID_IHXUberSource
 * 
 *      {00000203-b4c8-11d0-99-98-0-a0-24-8d-a5-f0}
 *
 * 
 */

// {EE434FB2-F3E8-4c0d-8A54-1CDE4E4B61E2}
DEFINE_GUID(IID_IHXUberSource, 0x296e8b6c, 0xa2d1, 0x40bc, 0x91, 
                  0x75, 0x3f, 0xb9, 0xa1, 0x51, 0x29, 0x72);


#undef  INTERFACE
#define INTERFACE   IHXUberSource

DECLARE_INTERFACE_(IHXUberSource, IUnknown)
{

    /*  Method:
     *      IHXUberSource::SwitchUberSource
     *  Purpose:
     *      Updates the UberStreamManager after it needs to be changed once 
     *      the source is changed e.g. in switching
     */
     
     STDMETHOD(SwitchUberSource)(THIS_
                                 IHXUberStreamManager* pUberSource) PURE;

};


#endif /* _UBER_SOURCE_H  */


_______________________________________________
Server-cvs mailing list
Server-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/server-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic