org.dvb.dsmcc
Class NPTRateChangeEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.dvb.dsmcc.NPTRateChangeEvent
All Implemented Interfaces:
java.io.Serializable

public class NPTRateChangeEvent
extends java.util.EventObject

Sent only when the rate of an broadcast timeline changes value.

Since:
MHP 1.0.1
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
NPTRateChangeEvent(DSMCCStream source, NPTRate rate)
          Construct an event.
 
Method Summary
 NPTRate getRate()
          Return the new rate of the stream immediately after the change.
 java.lang.Object getSource()
          Return the stream whose rate changed.
 
Methods inherited from class java.util.EventObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NPTRateChangeEvent

public NPTRateChangeEvent(DSMCCStream source,
                          NPTRate rate)
Construct an event.

Parameters:
source - the stream whose rate changed
rate - the new rate of that stream immediately following the change
Method Detail

getSource

public java.lang.Object getSource()
Return the stream whose rate changed.

Returns:
the DSMCCStream object on which the rate change has occurred.

getRate

public NPTRate getRate()
Return the new rate of the stream immediately after the change.

Returns:
a NPTRate object encapsulating the new rate