MUM.repository.proxy
Class SimpleProxyVideoInProtocolUnitCachingEnabled

java.lang.Object
  extended byjavax.media.ControllerAdapter
      extended byMUM.repository.proxy.SimpleProxyVideoInProtocolUnitCachingEnabled
All Implemented Interfaces:
javax.media.ControllerListener, java.util.EventListener, IProxyProtocolUnitCachingEnabled, java.lang.Runnable

public class SimpleProxyVideoInProtocolUnitCachingEnabled
extends javax.media.ControllerAdapter
implements IProxyProtocolUnitCachingEnabled

Componente che gestisce il protocollo di comunicazione con i Client.


Constructor Summary
SimpleProxyVideoInProtocolUnitCachingEnabled()
          Empty constructor
 
Method Summary
 ComponentInfo getComponentInfo()
          To get the ComponentInfo of this ProxyProtocolUnit
 void init(IProxyStreamReceiver streamReceiver, ISimpleServerVideoAgent myVideoAgent, IProxyOutProtocolUnit outProtocol, ComponentInfo info, java.io.PrintStream out, MUM.util.Synchronizer sync, IMetadata p)
          Initialize the agent protocol unit
 void realizeComplete(javax.media.RealizeCompleteEvent e)
           
 void run()
           
 void setCacheManager(ICacheManager cacheManager)
          Initializes the cache manger
 void setQoSManager(IOnlyVideoQoSManager man)
          metodo di inizializzazione del QoS Manager
 
Methods inherited from class javax.media.ControllerAdapter
audioDeviceUnavailable, cachingControl, configureComplete, connectionError, controllerClosed, controllerError, controllerUpdate, dataLostError, dataStarved, deallocate, durationUpdate, endOfMedia, formatChange, internalError, mediaTimeSet, prefetchComplete, rateChange, replaceURL, resourceUnavailable, restarting, showDocument, sizeChange, start, stop, stopAtTime, stopByRequest, stopTimeChange, transition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleProxyVideoInProtocolUnitCachingEnabled

public SimpleProxyVideoInProtocolUnitCachingEnabled()
Empty constructor

Method Detail

init

public void init(IProxyStreamReceiver streamReceiver,
                 ISimpleServerVideoAgent myVideoAgent,
                 IProxyOutProtocolUnit outProtocol,
                 ComponentInfo info,
                 java.io.PrintStream out,
                 MUM.util.Synchronizer sync,
                 IMetadata p)
          throws InitializationException
Initialize the agent protocol unit

Specified by:
init in interface IProxyProtocolUnitCachingEnabled
Throws:
InitializationException

setQoSManager

public void setQoSManager(IOnlyVideoQoSManager man)
metodo di inizializzazione del QoS Manager

Specified by:
setQoSManager in interface IProxyProtocolUnitCachingEnabled

run

public void run()
Specified by:
run in interface java.lang.Runnable

realizeComplete

public void realizeComplete(javax.media.RealizeCompleteEvent e)

getComponentInfo

public ComponentInfo getComponentInfo()
To get the ComponentInfo of this ProxyProtocolUnit

Specified by:
getComponentInfo in interface IProxyProtocolUnitCachingEnabled
Returns:
null if the listenSocket is not initialized yet, a valid component info otherwise

setCacheManager

public void setCacheManager(ICacheManager cacheManager)
Description copied from interface: IProxyProtocolUnitCachingEnabled
Initializes the cache manger

Specified by:
setCacheManager in interface IProxyProtocolUnitCachingEnabled
Parameters:
cacheManager -
See Also:
IProxyProtocolUnitCachingEnabled.setCacheManager(MUM.data.ICacheManager)


Copyright © 2004 Luca Foschini