NPTRateChangeEvent

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.dvb.dsmcc
Class NPTRateChangeEvent

    java.lang.Object
      java.util.EventObject
          org.dvb.dsmcc.NPTRateChangeEvent

All Implemented Interfaces:
  Serializable

    public class NPTRateChangeEvent

extends EventObject

Sent only when the rate of an NPT time-base changes value.

Since:
  MHP 1.0.1
See Also:
  Serialized Form

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.
`Object` | `getSource()` Return the stream whose rate changed.

Methods inherited from class java.util.EventObject
`toString`

Methods inherited from class java.lang.Object
`equals, 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 Object getSource()

  Return the stream whose rate changed.

  Overrides:
    `getSource` in class `EventObject`
  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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD