MUM.repository.qosManagement
Class OnlyVideoQoSManager

java.lang.Object
  extended byMUM.repository.qosManagement.OnlyVideoQoSManager
All Implemented Interfaces:
java.util.EventListener, ICPUStatusListener, IOnlyVideoQoSManager, IQoSManager, javax.media.rtp.RemoteListener

public class OnlyVideoQoSManager
extends java.lang.Object
implements IOnlyVideoQoSManager, javax.media.rtp.RemoteListener

This class is an implementation of the QoS manager for a video only application


Constructor Summary
OnlyVideoQoSManager()
           
 
Method Summary
 void init(java.io.PrintStream out, java.lang.String identifier, ICPUStatusNotifier notifier, IQoSManagerListener listener, ISimpleRTPMonitor sMonitor)
          The initialization method
 void passedThreshold(CPUStatusEvent cpuEvent)
          This call-back is called when one of the defined thresholds is overcome
 void start(javax.media.rtp.RTPManager managerToMonitor)
          The method to start the QoS Manager
 void update(javax.media.rtp.event.RemoteEvent ev)
          The callback to collect the feedbacks from the RTP/RTCP protocol
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OnlyVideoQoSManager

public OnlyVideoQoSManager()
Method Detail

init

public void init(java.io.PrintStream out,
                 java.lang.String identifier,
                 ICPUStatusNotifier notifier,
                 IQoSManagerListener listener,
                 ISimpleRTPMonitor sMonitor)
          throws InitializationException
The initialization method

Specified by:
init in interface IOnlyVideoQoSManager
Parameters:
identifier - the unique identifier for this place
notifier - the object which notifies the QoSManager the CPU status
listener - the object which waits the backcall for reconfiguration
sMonitor - a monitor which implements a simple politics
Throws:
InitializationException

start

public void start(javax.media.rtp.RTPManager managerToMonitor)
           throws InitializationException
The method to start the QoS Manager

Specified by:
start in interface IOnlyVideoQoSManager
Parameters:
managerToMonitor - the RTPManager (JMF), which is used to access the protocol info
Throws:
InitializationException

passedThreshold

public void passedThreshold(CPUStatusEvent cpuEvent)
This call-back is called when one of the defined thresholds is overcome

Specified by:
passedThreshold in interface ICPUStatusListener

update

public void update(javax.media.rtp.event.RemoteEvent ev)
The callback to collect the feedbacks from the RTP/RTCP protocol

Specified by:
update in interface javax.media.rtp.RemoteListener


Copyright © 2004 Luca Foschini