Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ProxyClientWrapperFactory Class Reference

#include <ProxyClientWrapperFactory.h>

Collaboration diagram for ProxyClientWrapperFactory:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual ~ProxyClientWrapperFactory ()
ProxyClientWrappergetProxyClientWrapper (RTSPProxySession *session, MNString url, MNSelector &selector, ProxyServer *proxyServer, bool dynReflection)
ProxyClientWrappergetDynReflectionProxyClient (RTSPProxySession *session, MNString url, MNSelector &selector, ProxyServer *proxyServer, int presentationTime, bool &isNew)
ProxyClientWrappergetAssociatedProxyClientWrapper (ProxyClient *pc)
void releaseProxyClientWrapper (ProxyClientWrapper *pcw)
unsigned int getSessionMemberCount (MNString url)

Static Public Member Functions

ProxyClientWrapperFactorygetInstance ()

Protected Member Functions

 ProxyClientWrapperFactory ()

Detailed Description

This class is responsible for the administration of all ProxyClient/Wrappers. The singleton instance is returned by getInstance().


Constructor & Destructor Documentation

ProxyClientWrapperFactory::ProxyClientWrapperFactory  )  [protected]
 

virtual ProxyClientWrapperFactory::~ProxyClientWrapperFactory  )  [virtual]
 


Member Function Documentation

ProxyClientWrapper* ProxyClientWrapperFactory::getAssociatedProxyClientWrapper ProxyClient *  pc  ) 
 

returns the ProxyClientWrapper wich holds pc

ProxyClientWrapper* ProxyClientWrapperFactory::getDynReflectionProxyClient RTSPProxySession session,
MNString  url,
MNSelector selector,
ProxyServer *  proxyServer,
int  presentationTime,
bool &  isNew
 

this function returns either an appropriate ProxyClientWrapper for the given url and time or a null pointer

ProxyClientWrapperFactory* ProxyClientWrapperFactory::getInstance  )  [static]
 

ProxyClientWrapper* ProxyClientWrapperFactory::getProxyClientWrapper RTSPProxySession session,
MNString  url,
MNSelector selector,
ProxyServer *  proxyServer,
bool  dynReflection
 

if dynReflection is false this function always returns a new ProxyClientWrapper otherwise it looks for an exisisting ProxyClientWrapper for the given url, if there is no such one it returns a null pointer

unsigned int ProxyClientWrapperFactory::getSessionMemberCount MNString  url  ) 
 

Todo:
it seems that this function is superfluous

void ProxyClientWrapperFactory::releaseProxyClientWrapper ProxyClientWrapper pcw  ) 
 

every ProxyClientWrapper that is needed anymore has to be released with this function if nobody uses the ProxyClientWrapper anymore, the object and the server session are destroyed


The documentation for this class was generated from the following file:
Generated on Sun Mar 6 13:36:09 2005 for Komssys by doxygen 1.3.8